diff options
| author | 2026-05-13 13:43:16 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:16 +0100 | |
| commit | 012f9d7b1bb06d994ed58d3bc5620e4a726a2d99 (patch) | |
| tree | ac0360717da487a17d9afeadd163dbdfc907f5a2 | |
| parent | e44fd262a68cbdeb992c6f36189c95bc3090c721 (diff) | |
| download | dotfiles-012f9d7b1bb06d994ed58d3bc5620e4a726a2d99.tar.gz dotfiles-012f9d7b1bb06d994ed58d3bc5620e4a726a2d99.tar.bz2 dotfiles-012f9d7b1bb06d994ed58d3bc5620e4a726a2d99.zip | |
fix(sway): scope thunderbird scratchpad rule to the main window
Matching only on app_id caused every TB window (compose, message
viewer, calendar event, settings) to be parked in the scratchpad,
leaving them hidden behind the main window. TB's main window title
always ends in 'Mozilla Thunderbird'; child windows don't. Narrow
both the for_window rule and the Super+t toggle with a title regex
so only the main window is managed.
| -rw-r--r-- | dot_config/sway/config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dot_config/sway/config b/dot_config/sway/config index 4d6a397..5acb897 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -43,7 +43,7 @@ output * bg #282828 solid_color for_window [class="feh"] floating enable for_window [app_id="imv"] floating enable for_window [class="Tor Browser"] floating enable -for_window [app_id="org.mozilla.Thunderbird"] move to scratchpad +for_window [app_id="org.mozilla.Thunderbird" title=".*Mozilla Thunderbird$"] move to scratchpad # ── Standard keybinds (sway defaults) ───────────────────────────────────────── bindsym $mod+Return exec $term @@ -157,7 +157,7 @@ mode "qr" { bindsym $mod+z mode "qr" # Thunderbird scratchpad toggle (auto-parked on launch, see window rules) -bindsym $mod+t [app_id="org.mozilla.Thunderbird"] scratchpad show, resize set width 100 ppt height 100 ppt, move position center +bindsym $mod+t [app_id="org.mozilla.Thunderbird" title=".*Mozilla Thunderbird$"] scratchpad show, resize set width 100 ppt height 100 ppt, move position center # ── Bar ─────────────────────────────────────────────────────────────────────── bar { |
