sway: add volume keys
This commit is contained in:
parent
827a8fbdc2
commit
4dae0c27d5
1 changed files with 6 additions and 1 deletions
7
config
7
config
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue