From 4dae0c27d51f7d58362e43f7d270ada3429ad4e6 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Sat, 19 Dec 2020 13:09:22 +0100 Subject: [PATCH] sway: add volume keys --- config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config b/config index 4d64135..0bb1b0b 100644 --- a/config +++ b/config @@ -148,8 +148,13 @@ bindsym $mod+space focus mode_toggle # Move focus to the parent container bindsym $mod+a focus parent # +## Volume +# +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle +# ## Screenshot -# needs grim, slurp and wl-clipboard packages # # copy selection to clipboard bindsym Print exec grim -g "$(slurp)" - | wl-copy