From 21169e1d1f10c7c3070ad0bcb7820995db76fc6f Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 1 Aug 2021 15:03:28 -0400 Subject: [PATCH] sxhkd: Add fn keys support Now these keys will work identical to the way they work in sway. --- sxhkd/.config/sxhkd/sxhkdrc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 67c0407..a791bdf 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -86,4 +86,26 @@ alt + a super + c bspc desktop -l next +# ======================= +# ======= fn keys ======= +# ======================= + +XF86AudioMute + pactl set-sink-mute @DEFAULT_SINK@ toggle + +XF86AudioLowerVolume + pactl set-sink-volume @DEFAULT_SINK@ -5% + +XF86AudioRaiseVolume + pactl set-sink-volume @DEFAULT_SINK@ +5% + +XF86AudioMicMute + pactl set-source-mute @DEFAULT_SOURCE@ toggle + +XF86MonBrightnessDown + brightnessctl set 5%- + +XF86MonBrightnessUp + brightnessctl set +5% + # vim:ft=sxhkdrc