Merge branch 'master' of github.com:dopefishh/dotfiles
authorMart Lubbers <mart@martlubbers.net>
Fri, 13 Jul 2018 04:54:11 +0000 (06:54 +0200)
committerMart Lubbers <mart@martlubbers.net>
Fri, 13 Jul 2018 04:54:11 +0000 (06:54 +0200)
1  2 
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 } },