Sway : Launch widgets in a scratchpad.

This commit is contained in:
Dmitry Voronin 2024-03-28 13:33:21 +03:00
parent b08076ae08
commit dc338530a3
3 changed files with 13 additions and 1 deletions

View file

@ -1 +1,5 @@
for_window [app_id=".blueman-manager-wrapped"] {
move scratchpad
scratchpad show
}
bindsym $mod+b exec 'blueman-manager' bindsym $mod+b exec 'blueman-manager'

View file

@ -1 +1,5 @@
for_window [app_id="nm-connection-editor"] {
move scratchpad
scratchpad show
}
bindsym $mod+n exec 'nm-connection-editor' bindsym $mod+n exec 'nm-connection-editor'

View file

@ -3,5 +3,9 @@ bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +1%'
bindsym XF86AudioLowerVolume 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' bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
# Open sound control. # Open sound control. # NOTE: Get id with `swaymsg -t get_tree`.
for_window [app_id="pavucontrol"] {
move scratchpad
scratchpad show
}
bindsym $mod+p exec 'pavucontrol' bindsym $mod+p exec 'pavucontrol'