sway: add volume keys

This commit is contained in:
Konstantin Koslowski 2020-12-19 13:09:22 +01:00
parent 827a8fbdc2
commit 4dae0c27d5

7
config
View file

@ -148,8 +148,13 @@ bindsym $mod+space focus mode_toggle
# Move focus to the parent container # Move focus to the parent container
bindsym $mod+a focus parent 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 ## Screenshot
# needs grim, slurp and wl-clipboard packages
# #
# copy selection to clipboard # copy selection to clipboard
bindsym Print exec grim -g "$(slurp)" - | wl-copy bindsym Print exec grim -g "$(slurp)" - | wl-copy