about summary refs log tree commit diff stats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 2617aa2..3f350fb 100644
--- a/config.def.h
+++ b/config.def.h
@@ -107,8 +107,8 @@ static const Key keys[] = {
 	{ 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") },
+	{ 0,		XF86XK_MonBrightnessUp,		spawn,	SHCMD("light -A 5; kill -36 $(pidof dwmblocks)") },
+	{ 0,		XF86XK_MonBrightnessDown,	spawn,	SHCMD("light -U 5; kill -36 $(pidof dwmblocks)") },
 		/* screenshots with scrotre */
 	{ 0,				XK_Print,	spawn,	SHCMD("scrotre -C") },
 	{ ShiftMask,			XK_Print,	spawn,	SHCMD("scrotre '$HOME/Изображения/Скриншоты/%Y-%m-%d-%H%M%S_$wx$h_scrotre.png'") },