From: Mart Lubbers Date: Fri, 13 Jul 2018 04:54:11 +0000 (+0200) Subject: Merge branch 'master' of github.com:dopefishh/dotfiles X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=ca4e74b1c8d81761eb0d5d8dc4a996928fae2745;p=dotfiles.git Merge branch 'master' of github.com:dopefishh/dotfiles --- ca4e74b1c8d81761eb0d5d8dc4a996928fae2745 diff --cc config.h/dwm/config.h index b0772c5,6ef64a4..84eda27 --- a/config.h/dwm/config.h +++ b/config.h/dwm/config.h @@@ -64,7 -66,13 +66,12 @@@ static const char *passmenu_type[] = static const char *scr[] = { "scr", NULL }; static const char *scr_sel[] = { "scr", "selection", NULL }; static const char *lock[] = { "slock", NULL }; + static const char *brightup[] = { "xbacklight", "-inc", "5", NULL }; + static const char *brightdown[] = { "xbacklight", "-inc", "5", NULL }; + static const char *volume_mute[] = {"pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL}; + static const char *volume_dec[] = {"pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL}; + static const char *volume_inc[] = {"pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL}; - static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } },