diff --git a/home-manager/modules/fish/functions.nix b/home-manager/modules/fish/functions.nix index 074b9b1..e305c86 100644 --- a/home-manager/modules/fish/functions.nix +++ b/home-manager/modules/fish/functions.nix @@ -71,7 +71,7 @@ else if [ "$channel" = "distortion" ] set pls_url "https://playerservices.streamtheworld.com/pls/KINK_DISTORTIONAAC.pls" end - set -f stream_url (${pkgs.curl}/bin/curl -sSL $pls_url | grep File | shuf | head -n 1 | awk -F '=' 'BEGIN { RS="\r\n" } { print $2 }') + set -f stream_url (${pkgs.curl}/bin/curl -sSL "$pls_url" | grep File | shuf | head -n 1 | awk -F '=' 'BEGIN { RS="\r\n" } { print $2 }') mpc clear mpc add "$stream_url" mpc play