aboutsummaryrefslogtreecommitdiff
path: root/dwm/config.h
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2026-01-16 11:47:35 +0100
committerPolesznyák Márk <contact@pml68.dev>2026-01-16 11:47:35 +0100
commit4e31caf4d61b7eb3a052d50c25b21daddb9f0d81 (patch)
treef6206c77a7d662db920639975cc021b4de0440bc /dwm/config.h
parentfeat: replace install script with Makefile (diff)
downloadsuckless-setup-4e31caf4d61b7eb3a052d50c25b21daddb9f0d81.tar.gz
feat(dwm): add mute keybind
Diffstat (limited to '')
-rw-r--r--dwm/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm/config.h b/dwm/config.h
index 107803c..2ffd60a 100644
--- a/dwm/config.h
+++ b/dwm/config.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 */