Add macbook brightness

This commit is contained in:
2017-10-19 21:02:36 -07:00
parent be8afa398d
commit aa502f8d73
4 changed files with 80 additions and 11 deletions

View File

@@ -1013,8 +1013,8 @@ addKeys conf@XConfig { modMask = modm } =
, ((hyper .|. shiftMask, xK_q), spawn "toggle_mute_current_window.sh")
, ((hctrl, xK_q), spawn "toggle_mute_current_window.sh only")
, ((0, xF86XK_MonBrightnessUp), spawn "show_brightness.sh")
, ((0, xF86XK_MonBrightnessDown), spawn "show_brightness.sh")
, ((0, xF86XK_MonBrightnessUp), spawn "brightness.sh 5")
, ((0, xF86XK_MonBrightnessDown), spawn "brightness.sh -5")
] ++