Add media keys
This commit is contained in:
parent
6228340afb
commit
d05ed674de
1 changed files with 12 additions and 0 deletions
|
@ -90,6 +90,18 @@ sway_keybindings:
|
|||
- bindsym: '$mod+p'
|
||||
action: 'scratchpad show'
|
||||
|
||||
# Media keys
|
||||
- bindsym: '$mod+F1'
|
||||
action: 'exec brightnessctl s 1%-'
|
||||
- bindsym: '$mod+F2'
|
||||
action: 'exec brightnessctl s +1%'
|
||||
- bindsym: $mod+F3
|
||||
action: exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
- bindsym: $mod+F4
|
||||
action: exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
- bindsym: $mod+F5
|
||||
action: exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
# Mode resize
|
||||
- bindsym: '$mod+r'
|
||||
action: 'mode "resize"'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue