summaryrefslogtreecommitdiff
path: root/dwm
diff options
context:
space:
mode:
Diffstat (limited to 'dwm')
-rw-r--r--dwm/config.h24
1 files changed, 16 insertions, 8 deletions
diff --git a/dwm/config.h b/dwm/config.h
index 11f6c81..ff7d8fa 100644
--- a/dwm/config.h
+++ b/dwm/config.h
@@ -75,6 +75,11 @@ static const char *shut[] = { "shut", NULL };
75static const char *brightup[] = { "doas", "bup", NULL }; 75static const char *brightup[] = { "doas", "bup", NULL };
76static const char *brightdown[] = { "doas", "bdown", NULL }; 76static const char *brightdown[] = { "doas", "bdown", NULL };
77 77
78/* cmus */
79static const char *plyrnext[] = { "cmus-remote", "-n", NULL };
80static const char *plyrprev[] = { "cmus-remote", "-r", NULL };
81static const char *plyrplay[] = { "cmus-remote", "-u", NULL };
82
78/* lock */ 83/* lock */
79static const char *lock[] = { "xset", "s", "activate", NULL }; 84static const char *lock[] = { "xset", "s", "activate", NULL };
80 85
@@ -89,6 +94,9 @@ static Key keys[] = {
89 { 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } }, 94 { 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
90 { 0, XF86XK_MonBrightnessUp, spawn, {.v = brightup } }, 95 { 0, XF86XK_MonBrightnessUp, spawn, {.v = brightup } },
91 { 0, XF86XK_MonBrightnessDown, spawn, {.v = brightdown } }, 96 { 0, XF86XK_MonBrightnessDown, spawn, {.v = brightdown } },
97 { 0, XF86XK_AudioNext, spawn, {.v = plyrnext } },
98 { 0, XF86XK_AudioPrev, spawn, {.v = plyrprev } },
99 { 0, XF86XK_AudioPlay, spawn, {.v = plyrplay } },
92 { MODKEY|ShiftMask, XK_Delete, spawn, {.v = lock } }, 100 { MODKEY|ShiftMask, XK_Delete, spawn, {.v = lock } },
93 { MODKEY, XK_b, togglebar, {0} }, 101 { MODKEY, XK_b, togglebar, {0} },
94 { MODKEY, XK_j, focusstack, {.i = +1 } }, 102 { MODKEY, XK_j, focusstack, {.i = +1 } },
@@ -97,14 +105,14 @@ static Key keys[] = {
97 { MODKEY, XK_d, incnmaster, {.i = -1 } }, 105 { MODKEY, XK_d, incnmaster, {.i = -1 } },
98 { MODKEY, XK_h, setmfact, {.f = -0.05} }, 106 { MODKEY, XK_h, setmfact, {.f = -0.05} },
99 { MODKEY, XK_l, setmfact, {.f = +0.05} }, 107 { MODKEY, XK_l, setmfact, {.f = +0.05} },
100 { MODKEY|Mod4Mask, XK_h, incrgaps, {.i = +1 } }, 108 { MODKEY|Mod1Mask, XK_h, incrgaps, {.i = +1 } },
101 { MODKEY|Mod4Mask, XK_l, incrgaps, {.i = -1 } }, 109 { MODKEY|Mod1Mask, XK_l, incrgaps, {.i = -1 } },
102 { MODKEY|Mod4Mask|ShiftMask, XK_h, incrogaps, {.i = +1 } }, 110 { MODKEY|Mod1Mask|ShiftMask, XK_h, incrogaps, {.i = +1 } },
103 { MODKEY|Mod4Mask|ShiftMask, XK_l, incrogaps, {.i = -1 } }, 111 { MODKEY|Mod1Mask|ShiftMask, XK_l, incrogaps, {.i = -1 } },
104 { MODKEY|Mod4Mask|ControlMask, XK_h, incrigaps, {.i = +1 } }, 112 { MODKEY|Mod1Mask|ControlMask, XK_h, incrigaps, {.i = +1 } },
105 { MODKEY|Mod4Mask|ControlMask, XK_l, incrigaps, {.i = -1 } }, 113 { MODKEY|Mod1Mask|ControlMask, XK_l, incrigaps, {.i = -1 } },
106 { MODKEY|Mod4Mask, XK_0, togglegaps, {0} }, 114 { MODKEY|Mod1Mask, XK_0, togglegaps, {0} },
107 { MODKEY|Mod4Mask|ShiftMask, XK_0, defaultgaps, {0} }, 115 { MODKEY|Mod1Mask|ShiftMask, XK_0, defaultgaps, {0} },
108 { MODKEY, XK_y, incrihgaps, {.i = +1 } }, 116 { MODKEY, XK_y, incrihgaps, {.i = +1 } },
109 { MODKEY, XK_o, incrihgaps, {.i = -1 } }, 117 { MODKEY, XK_o, incrihgaps, {.i = -1 } },
110 { MODKEY|ControlMask, XK_y, incrivgaps, {.i = +1 } }, 118 { MODKEY|ControlMask, XK_y, incrivgaps, {.i = +1 } },