Sway: Move Thunderbird popups to scratchpad.

This commit is contained in:
Dmitry Voronin 2025-01-09 19:29:21 +03:00
parent 5f19ac8580
commit 74401fd1a5
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -8,41 +8,13 @@ bindsym --to-code $mod+c scratchpad show
bindsym --to-code $mod+shift+C move scratchpad bindsym --to-code $mod+shift+C move scratchpad
bindsym --to-code $mod+shift+X exec swayscript scratchpad_kill bindsym --to-code $mod+shift+X exec swayscript scratchpad_kill
# Fix for a goddamn Firefox WebRTC indicator. for_window [app_id=".blueman-manager-wrapped"] move scratchpad, scratchpad show
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] { for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
kill for_window [app_id="nm-connection-editor"] move scratchpad, scratchpad show
} for_window [app_id="org.gnome.Calculator"] move scratchpad, scratchpad show
for_window [app_id="pavucontrol"] move scratchpad, scratchpad show
# NetworkManager. for_window [app_id="thunderbird" title=".*Reminder"] move scratchpad, scratchpad show
for_window [app_id="nm-connection-editor"] { for_window [app_id="thunderbird" title="New Event:.*"] move scratchpad, scratchpad show
move scratchpad for_window [app_id="thunderbird" title="Edit Event:.*"] move scratchpad, scratchpad show
scratchpad show for_window [title="Emulator" window_type="utility"] move scratchpad
} for_window [title="JamesDSP for Linux"] move scratchpad
# Bluetooth.
for_window [app_id=".blueman-manager-wrapped"] {
move scratchpad
scratchpad show
}
# Sound.
for_window [app_id="pavucontrol"] {
move scratchpad
scratchpad show
}
# Android emulator controls.
for_window [title="Emulator" window_type="utility"] {
move scratchpad
}
# Calculator.
for_window [app_id="org.gnome.Calculator"] {
move scratchpad
scratchpad show
}
# JamesDsp.
for_window [title="JamesDSP for Linux"] {
move scratchpad
}