diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2026-01-16 11:47:35 +0100 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2026-01-16 11:47:35 +0100 |
| commit | 4e31caf4d61b7eb3a052d50c25b21daddb9f0d81 (patch) | |
| tree | f6206c77a7d662db920639975cc021b4de0440bc /dwm/config.def.h | |
| parent | feat: replace install script with Makefile (diff) | |
| download | suckless-setup-4e31caf4d61b7eb3a052d50c25b21daddb9f0d81.tar.gz | |
feat(dwm): add mute keybind
Diffstat (limited to 'dwm/config.def.h')
| -rw-r--r-- | dwm/config.def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm/config.def.h b/dwm/config.def.h index 107803c..2ffd60a 100644 --- a/dwm/config.def.h +++ b/dwm/config.def.h @@ -89,6 +89,7 @@ static const char *previouscmd[] = {"adb", "shell", "input", "keyevent", "88", N static const char *volumeup[] = {"pulsemixer", "--change-volume", "+5", NULL}; static const char *volumedown[] = {"pulsemixer", "--change-volume", "-5", NULL}; static const char *volumereset[] = {"pulsemixer", "--set-volume", "65", NULL}; +static const char *volumemute[] = {"pulsemixer", "--toggle-mute", NULL}; static const char *emojicmd[] = {"simplemoji", "-szxpt", "dark", "-m", "#e0def4", "--background-color", "#1e1e2e"}; static const char *qalccmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", @@ -138,6 +139,7 @@ static const Key keys[] = { {MODKEY | ShiftMask, XK_o, spawn, {.v = volumeup}}, {MODKEY | ShiftMask, XK_l, spawn, {.v = volumedown}}, {MODKEY | ShiftMask, XK_r, spawn, {.v = volumereset}}, + {MODKEY | ShiftMask, XK_m, spawn, {.v = volumemute}}, }; /* button definitions */ |
