Move dwm and st configs from patches to overrides

This commit is contained in:
Oliver Davies 2025-02-18 12:24:39 +00:00
parent 560912af52
commit 219d032974
4 changed files with 442 additions and 49 deletions

View file

@ -1,16 +0,0 @@
diff --git a/config.def.h b/config.def.h
index 9efa774..dd6779a 100644
--- a/config.def.h
+++ b/config.def.h
@@ -95,6 +95,11 @@ static const Key keys[] = {
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
+ { MODKEY|ShiftMask, XK_b, spawn, SHCMD("firefox") },
+ { MODKEY|ShiftMask, XK_f, spawn, SHCMD("thunar") },
+ { MODKEY|ShiftMask, XK_s, spawn, SHCMD("flameshot gui") },
+ { MODKEY|ShiftMask, XK_y, spawn, SHCMD("copyq toggle") },
+ { MODKEY, XK_Insert, spawn, SHCMD("xdotool type $(grep -v '^#' ~/snippets.txt | sort | dmenu -i -l 50 | cut -d' ' -f1)") },
};
/* button definitions */

View file

@ -1,13 +0,0 @@
diff --git a/config.def.h b/config.def.h
index 9efa774..4412cb1 100644
--- a/config.def.h
+++ b/config.def.h
@@ -45,7 +45,7 @@ static const Layout layouts[] = {
};
/* key definitions */
-#define MODKEY Mod1Mask
+#define MODKEY Mod4Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \