forked from extern/nix-config
sway: Add fn keys support
Note that F9-F11 currently don't report anything in xev, although we can program the rest of the keys here.
This commit is contained in:
parent
06bd933fa8
commit
23811e56e6
@ -186,4 +186,15 @@ bar {
|
||||
}
|
||||
}
|
||||
|
||||
# Fn keys
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl set +5%
|
||||
# bindsym XF86Display exec
|
||||
# bindsym XF86WLAN exec
|
||||
# bindsym XF86Favorites exec
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
Loading…
Reference in New Issue
Block a user