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