fix: launch thunderbird and spotify in their named special workspace properly

This commit is contained in:
matt1432 2023-10-03 12:15:51 -04:00
parent 20f2f3890b
commit 8e32e2ee23

View file

@ -36,8 +36,8 @@ exec-once = swayosd-server
exec-once = swayidle -w lock $LOCK_PATH/lock.sh exec-once = swayidle -w lock $LOCK_PATH/lock.sh
# Special window apps # Special window apps
exec-once = thunderbird & sleep 5; hyprctl dispatch movetoworkspacesilent special:thunder,"^(thunderbird)$" exec-once = [workspace special:thunder silent] thunderbird
exec-once = spotify & sleep 5; hyprctl dispatch movetoworkspacesilent special:spot,"^(Spotify)$" exec-once = [workspace special:spot silent] spotify
# Some default env vars. # Some default env vars.
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
@ -133,8 +133,8 @@ gestures {
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = noborder,^(wofi)$ windowrule = noborder,^(wofi)$
windowrule = workspace special silent,^(Spotify)$ windowrule = workspace special:spot silent,^(Spotify)$
windowrule = workspace special silent,^(thunderbird)$ windowrule = workspace special:thunder silent,^(thunderbird)$
windowrule = float,^(org.kde.polkit-kde-authentication-agent-1)$ windowrule = float,^(org.kde.polkit-kde-authentication-agent-1)$
windowrule = size 741 288,^(org.kde.polkit-kde-authentication-agent-1)$ windowrule = size 741 288,^(org.kde.polkit-kde-authentication-agent-1)$