xmonad: additional brightness/volume hotkeys
This commit is contained in:
parent
cec213a088
commit
bdaca6ff21
@ -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")
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user