From 23811e56e6a955081fc1d63b9bcf8471ad74eba4 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 14 May 2021 19:12:47 -0400 Subject: [PATCH] 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. --- sway/.config/sway/config | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 38242802..351bb51a 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -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/*