Sway : Add scratchpad.

This commit is contained in:
Dmitry Voronin 2024-03-28 09:20:21 +03:00
parent 9f11189916
commit 980c631a4b
3 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,7 @@
# Volume
# Adjust volume.
bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +1%'
bindsym XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -1%'
bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
# Open sound control.
bindsym $mod+p exec 'pavucontrol'

View file

@ -25,3 +25,6 @@ bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Right move right
bindsym $mod+Shift+Up move up
# Focus mouse following.
focus_follows_mouse no

View file

@ -2,8 +2,8 @@
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
# bindsym $mod+Shift+minus move scratchpad
bindsym $mod+shift+Enter move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
# bindsym $mod+minus scratchpad show
bindsym $mod+Enter scratchpad show