hypr: add binds for brightness keys
This commit is contained in:
parent
17714b2032
commit
4dc610ebb4
1 changed files with 5 additions and 0 deletions
|
|
@ -196,10 +196,15 @@ bind = $mainMod, l, movefocus, r
|
|||
bind = $mainMod, k, movefocus, u
|
||||
bind = $mainMod, j, movefocus, d
|
||||
|
||||
# brightness keys
|
||||
bindel = , XF86MonBrightnessUp, exec, brightnessctl s +2%
|
||||
bindel = , XF86MonBrightnessDown, exec, brightnessctl s 2%-
|
||||
|
||||
# media keys
|
||||
bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+
|
||||
bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-
|
||||
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
|
||||
# Requires playerctl
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue