From dde0f53c4de673c10fed975f01f46394ae2cd2fd Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Mon, 15 Apr 2024 16:29:31 +0200 Subject: [PATCH] fish: Fix kink function --- home-manager/modules/fish/functions.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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