about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.def.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index a8ce53b..2617aa2 100644
--- a/config.def.h
+++ b/config.def.h
@@ -62,9 +62,9 @@ static const char *termcmd[]  = { "st", NULL };
 #include "movestack.c"
 #include "focusurgent.c"
 static const Key keys[] = {
-	/* modifier                     key        function        argument */
-	{ MODKEY,                       XK_space,      spawn,          {.v = dmenucmd } },
-	{ MODKEY,             XK_Return, spawn,          {.v = termcmd } },
+	/* modifier                     key		function	argument */
+	{ MODKEY,			XK_space,	spawn,		{.v = dmenucmd } },
+	{ MODKEY,			XK_Return,	spawn,		{.v = termcmd } },
 
 		/* vim keys */
 	{ MODKEY,                       XK_j,      focusstack,     {.i = +1 } },
@@ -103,9 +103,9 @@ static const Key keys[] = {
 	{ MODKEY,			XK_f,		spawn,	SHCMD("st ranger") },
 	{ ControlMask|ShiftMask,	XK_Escape,	spawn,	SHCMD("st btop") },
 		/* volume control */
-	{ 0,		XF86XK_AudioRaiseVolume,	spawn,	SHCMD("pamixer -i 5") },
-	{ 0,		XF86XK_AudioLowerVolume,	spawn,	SHCMD("pamixer -d 5") },
-	{ 0,		XF86XK_AudioMute,		spawn,	SHCMD("pamixer -t") },
+	{ 0,		XF86XK_AudioRaiseVolume,	spawn,	SHCMD("pamixer -i 5; kill -35 $(pidof dwmblocks)") },
+	{ 0,		XF86XK_AudioLowerVolume,	spawn,	SHCMD("pamixer -d 5; kill -35 $(pidof dwmblocks)") },
+	{ 0,		XF86XK_AudioMute,		spawn,	SHCMD("pamixer -t; kill -35 $(pidof dwmblocks)") },
 		/* brightness control */
 	{ 0,		XF86XK_MonBrightnessUp,		spawn,	SHCMD("light -A 5") },
 	{ 0,		XF86XK_MonBrightnessDown,	spawn,	SHCMD("light -U 5") },