1
0
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:
Donovan Glover 2021-05-14 19:12:47 -04:00
parent 06bd933fa8
commit 23811e56e6
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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/*