feat: switch to spotify app because of playback issues with spot

This commit is contained in:
matt1432 2023-09-18 23:22:13 -04:00
parent 73ed0ba6de
commit d9948209eb
4 changed files with 4 additions and 8 deletions
config

View file

@ -5,7 +5,7 @@ EXEC="$2"
if [[ "$APP" == "thunderbird" ]]; then
hyprctl dispatch togglespecialworkspace thunder
elif [[ "$APP" == "dev.alextren.Spot" ]]; then
elif [[ "$APP" == "Spotify" ]]; then
hyprctl dispatch togglespecialworkspace spot
elif [[ $(hyprctl clients | grep "$APP") != "" ]]; then
hyprctl dispatch focuswindow "^($APP)$"

View file

@ -37,7 +37,7 @@ 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 = spot & sleep 5; hyprctl dispatch movetoworkspacesilent special:spot,"^(dev.alextren.Spot)$"
exec-once = spotify & sleep 5; hyprctl dispatch movetoworkspacesilent special:spot,"^(Spotify)$"
# Some default env vars.
env = XCURSOR_SIZE,24
@ -132,7 +132,7 @@ gestures {
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = noborder,^(wofi)$
windowrule = workspace special silent,^(dev.alextren.Spot)$
windowrule = workspace special silent,^(Spotify)$
windowrule = workspace special silent,^(thunderbird)$
windowrule = float,^(org.kde.polkit-kde-authentication-agent-1)$