sway: Handle multimedia keys
This commit is contained in:
parent
295ab6c657
commit
f469263e78
1 changed files with 12 additions and 0 deletions
12
sway/config
12
sway/config
|
@ -203,6 +203,18 @@ mode "resize" {
|
|||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
#
|
||||
# Volume, brightness, etc.
|
||||
#
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
bindsym XF86MonBrightnessDown exec light -U 5
|
||||
bindsym XF86MonBrightnessUp exec light -A 5
|
||||
bindsym XF86KbdBrightnessDown exec light -s sysfs/leds/asus::kbd_backlight -U 34
|
||||
bindsym XF86KbdBrightnessUp exec light -s sysfs/leds/asus::kbd_backlight -A 34
|
||||
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue