aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-14 11:18:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-14 11:18:07 +0200
commit01a850da59db8c802dd730c04bcd26c15c9efab2 (patch)
treecc12db8f5029563790240456e1a3ec54f5980b93
parentKeybound ndate (diff)
downloaddwm-01a850da59db8c802dd730c04bcd26c15c9efab2.tar.gz
dwm-01a850da59db8c802dd730c04bcd26c15c9efab2.tar.bz2
dwm-01a850da59db8c802dd730c04bcd26c15c9efab2.tar.xz
dwm-01a850da59db8c802dd730c04bcd26c15c9efab2.tar.zst
dwm-01a850da59db8c802dd730c04bcd26c15c9efab2.zip
Keybound mic script
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 8378285..25e0763 100644
--- a/config.h
+++ b/config.h
@@ -102,6 +102,7 @@ static const char *bldeccmd[] = { "/usr/local/bin/xbacklight", "-dec", "10",
static const char *voltogcmd[] = { "/home/jozan/.local/bin/mixer-set", "toggle", NULL };
static const char *voldeccmd[] = { "/home/jozan/.local/bin/mixer-set", "lower", NULL };
static const char *volinccmd[] = { "/home/jozan/.local/bin/mixer-set", "raise", NULL };
+static const char *miccmd[] = { "/home/jozan/.local/bin/mic", NULL };
static const char *mpcprevcmd[] = { "/usr/local/bin/mpc", "prev", NULL };
static const char *mpcnextcmd[] = { "/usr/local/bin/mpc", "next", NULL };
static const char *mpctogcmd[] = { "/usr/local/bin/mpc", "toggle", NULL };
@@ -135,6 +136,7 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_F10, spawn, {.v = voltogcmd } },
{ MODKEY|ShiftMask, XK_F11, spawn, {.v = voldeccmd } },
{ MODKEY|ShiftMask, XK_F12, spawn, {.v = volinccmd } },
+ { MODKEY|ShiftMask, XK_Home, spawn, {.v = miccmd } },
{ MODKEY|ControlMask, XK_F9, spawn, {.v = dmkillcmd } },
{ MODKEY|ControlMask, XK_F10, spawn, {.v = dmscrotcmd } },
{ MODKEY|ControlMask, XK_F11, spawn, {.v = dmsearchcmd } },