diff options
Diffstat (limited to 'src/Internal/Keys.hs')
| -rw-r--r-- | src/Internal/Keys.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs index 8731f42..ab8869e 100644 --- a/src/Internal/Keys.hs +++ b/src/Internal/Keys.hs @@ -310,6 +310,15 @@ keymap = runKeys $ do bind xF86XK_AudioPrev $ do noMod $ spawn "spotify-control prev" + bind xF86XK_MonBrightnessUp $ do + noMod $ spawn "set-backlight.sh +0.05" + justMod $ spawn "set-backlight.sh 1" + + bind xF86XK_MonBrightnessDown $ do + noMod $ spawn "set-backlight.sh -0.05" + justMod $ spawn "set-backlight.sh 0.01" + rawMask shiftMask $ spawn "set-backlight.sh 0" + mouseMap :: ButtonsMap l mouseMap = runButtons $ do bind button1 $ do |