diff --git a/config/ags/bin/launch-app.sh b/config/ags/bin/launch-app.sh index 894ad6e..ef79c6d 100755 --- a/config/ags/bin/launch-app.sh +++ b/config/ags/bin/launch-app.sh @@ -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)$" diff --git a/config/hypr/main.conf b/config/hypr/main.conf index 1afcbed..a478a96 100644 --- a/config/hypr/main.conf +++ b/config/hypr/main.conf @@ -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)$ diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 47d9ecf..1ea9d66 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -13,10 +13,6 @@ hostName = "wim"; networkmanager.enable = true; networkmanager.wifi.backend = "wpa_supplicant"; - hosts = { - # Fix spot playback issue: https://github.com/xou816/spot/issues/541#issuecomment-1200503080 - "104.199.65.124" = [ "ap-gew4.spotify.com" "ap-gue1.spotify.com" ]; - }; }; # Set your time zone. diff --git a/nixos/home/packages.nix b/nixos/home/packages.nix index d4cbf54..709f7c2 100644 --- a/nixos/home/packages.nix +++ b/nixos/home/packages.nix @@ -77,7 +77,7 @@ thunderbird input-emulator bc - spot + spotifywm swayosd blueberry libayatana-appindicator