From ef7fa0665e99e005c9e0d6e85954e457cf0d3e1f Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:15 +0100 Subject: feat(sway): park thunderbird in scratchpad, toggle with Super+t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Autostart thunderbird on sway launch; window rule parks it in the scratchpad immediately so it runs in the background firing mako notifications. Super+t toggles the window visible/hidden without quitting the app — works around the long-standing lack of native Linux tray support in Thunderbird. --- dot_config/sway/config | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dot_config/sway/config') diff --git a/dot_config/sway/config b/dot_config/sway/config index f802a30..c2f0343 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -43,6 +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="thunderbird"] move to scratchpad # ── Standard keybinds (sway defaults) ───────────────────────────────────────── bindsym $mod+Return exec $term @@ -155,6 +156,9 @@ mode "qr" { } bindsym $mod+z mode "qr" +# Thunderbird scratchpad toggle (auto-parked on launch, see window rules) +bindsym $mod+t [app_id="thunderbird"] scratchpad show + # ── Bar ─────────────────────────────────────────────────────────────────────── bar { swaybar_command waybar @@ -165,6 +169,7 @@ exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CU exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP exec "sleep 2 && ~/.config/sway/display-toggle.sh init" exec systemctl --user start sway-session.target +exec thunderbird # GTK4 reads dark mode from gsettings (settings.ini's prefer-dark is GTK3 only). exec gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' -- cgit v1.3.1