aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <contact@pml68.me>2024-08-11 23:41:17 +0200
committerpml68 <contact@pml68.me>2024-08-11 23:41:17 +0200
commit96d06424382288a0a35dbd5b5375d0f58c8a90d8 (patch)
treecab8859e814e5d899a76589a5b90551e4facfc7f
parentfeat(dwm): add holdbar patch (diff)
downloadsuckless-setup-96d06424382288a0a35dbd5b5375d0f58c8a90d8.tar.gz
feat(dwm): swap holdbar and togglebar shortcuts
Diffstat (limited to '')
-rw-r--r--dwm/config.def.h4
-rw-r--r--dwm/config.h4
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}},