1
0

xmonad: additional brightness/volume hotkeys

This commit is contained in:
dump_stack() 2023-02-13 09:10:29 +00:00
parent cec213a088
commit bdaca6ff21
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -54,13 +54,21 @@ notifySend expireTime shellCommand = spawn
-- M - modMask, M1 - Alt, C - Control, S - Shift. Use xev.
keysP = [ ("M-l", spawn "xsecurelock")
, ("<Print>", spawn "escrotum -Cs")
, ("<XF86MonBrightnessUp>", spawn "sudo light -A 3")
, ("<XF86MonBrightnessDown>", spawn "sudo light -U 3")
, ("<XF86MonBrightnessUp>", spawn "sudo light -A 3")
, ("M-S-[", spawn "sudo light -U 3")
, ("M-S-]", spawn "sudo light -A 3")
, ("M-C-[", spawn "sudo light -S 1")
, ("M-C-]", spawn "sudo light -S 100")
, ("<XF86AudioMute>", spawn "pulsemixer --toggle-mute")
, ("<XF86AudioLowerVolume>", spawn "pulsemixer --change-volume -3")
, ("<XF86AudioRaiseVolume>", spawn "pulsemixer --change-volume +3")
, ("<XF86AudioLowerVolume>", spawn "pulsemixer --change-volume -1")
, ("<XF86AudioRaiseVolume>", spawn "pulsemixer --change-volume +1")
, ("M-[", spawn "pulsemixer --change-volume -1")
, ("M-]", spawn "pulsemixer --change-volume +1")
, ("M-\\", spawn "pulsemixer --toggle-mute")
, ("M-d", notifySend 3000 "date && TZ='Europe/Paris' date && TZ='Europe/Moscow' date")
, ("M-p", spawn "rofi -theme android_notification -font 'Ubuntu Mono 30' -show run")
, ("M-p", spawn "rofi -show run")
, ("M-o", spawn "rofi-bluetooth")
, ("M-s", spawn "kitty")
, ("M-b", notifySend 1000 "acpi -b")
]