diff options
| author | pml68 <contact@pml68.me> | 2024-08-11 23:41:17 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.me> | 2024-08-11 23:41:17 +0200 |
| commit | 96d06424382288a0a35dbd5b5375d0f58c8a90d8 (patch) | |
| tree | cab8859e814e5d899a76589a5b90551e4facfc7f /dwm | |
| parent | feat(dwm): add holdbar patch (diff) | |
| download | suckless-setup-96d06424382288a0a35dbd5b5375d0f58c8a90d8.tar.gz | |
feat(dwm): swap holdbar and togglebar shortcuts
Diffstat (limited to 'dwm')
| -rw-r--r-- | dwm/config.def.h | 4 | ||||
| -rw-r--r-- | dwm/config.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/dwm/config.def.h b/dwm/config.def.h index 4930269..a31694d 100644 --- a/dwm/config.def.h +++ b/dwm/config.def.h @@ -63,7 +63,7 @@ static const Layout layouts[] = { {MODKEY | ControlMask, KEY, toggleview, {.ui = 1 << TAG}}, \ {MODKEY | ShiftMask, KEY, tag, {.ui = 1 << TAG}}, \ {MODKEY | ControlMask | ShiftMask, KEY, toggletag, {.ui = 1 << TAG}}, -#define HOLDKEY XK_b +#define HOLDKEY XK_q /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) \ @@ -98,7 +98,7 @@ static const Key keys[] = { /* modifier key function argument */ {MODKEY, XK_p, spawn, {.v = dmenucmd}}, {MODKEY | ShiftMask, XK_Return, spawn, {.v = termcmd}}, - {MODKEY, XK_q, togglebar, {0}}, + {MODKEY, XK_b, togglebar, {0}}, {MODKEY, XK_j, focusstack, {.i = +1}}, {MODKEY, XK_k, focusstack, {.i = -1}}, {MODKEY, XK_i, incnmaster, {.i = +1}}, diff --git a/dwm/config.h b/dwm/config.h index 4930269..a31694d 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -63,7 +63,7 @@ static const Layout layouts[] = { {MODKEY | ControlMask, KEY, toggleview, {.ui = 1 << TAG}}, \ {MODKEY | ShiftMask, KEY, tag, {.ui = 1 << TAG}}, \ {MODKEY | ControlMask | ShiftMask, KEY, toggletag, {.ui = 1 << TAG}}, -#define HOLDKEY XK_b +#define HOLDKEY XK_q /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) \ @@ -98,7 +98,7 @@ static const Key keys[] = { /* modifier key function argument */ {MODKEY, XK_p, spawn, {.v = dmenucmd}}, {MODKEY | ShiftMask, XK_Return, spawn, {.v = termcmd}}, - {MODKEY, XK_q, togglebar, {0}}, + {MODKEY, XK_b, togglebar, {0}}, {MODKEY, XK_j, focusstack, {.i = +1}}, {MODKEY, XK_k, focusstack, {.i = -1}}, {MODKEY, XK_i, incnmaster, {.i = +1}}, |
