Browse Source

brightnessctl

master
wiebel 5 months ago
parent
commit
e747b593fb
  1. 4
      config.h

4
config.h

@ -313,8 +313,8 @@ static Key keys[] = {
{ ALTKEY|ControlMask, XK_l, spawn, SHCMD("/usr/local/bin/lock.me") },
{ 0, XK_Print, spawn, SHCMD("/usr/bin/spectacle") },
/* Media Keys */
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") },
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("brightnessctl s +5%") },
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("brightnwssctl s 5%-") },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup } },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = voldn } },
{ 0, XF86XK_AudioMute, spawn, {.v = volmute } },

Loading…
Cancel
Save