Add media keys to hyprland
This commit is contained in:
parent
e19a2e81cd
commit
e974145390
@ -304,6 +304,18 @@ in
|
|||||||
# "$mod SHIFT, P, changegroupactive, b"
|
# "$mod SHIFT, P, changegroupactive, b"
|
||||||
# "$mod ALT, ,resizeactive,"
|
# "$mod ALT, ,resizeactive,"
|
||||||
|
|
||||||
|
# media keys
|
||||||
|
", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
|
||||||
|
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||||
|
", XF86AudioPlay, exec, playerctl play-pause"
|
||||||
|
", XF86AudioPause, exec, playerctl pause"
|
||||||
|
", XF86AudioStop, exec, playerctl stop"
|
||||||
|
", XF86AudioNext, exec, playerctl next"
|
||||||
|
", XF86AudioPrev, exec, playerctl previous"
|
||||||
|
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||||
|
", XF86MonBrightnessUp, exec, brightnessctl --class backlight set 5%+"
|
||||||
|
", XF86MonBrightnessDown, exec, brightnessctl --class backlight set 5%-"
|
||||||
|
|
||||||
# move focus
|
# move focus
|
||||||
"$mod, left, movefocus, l"
|
"$mod, left, movefocus, l"
|
||||||
"$mod, H, movefocus, l"
|
"$mod, H, movefocus, l"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user