From ba6e5930d14ae12bda903c814d4e77c65bbbec14 Mon Sep 17 00:00:00 2001 From: Luna Komorebi Date: Wed, 24 May 2023 22:56:47 +0200 Subject: [PATCH] add -sel clip to getspotify title funcion --- .zsh/func.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zsh/func.zsh b/.zsh/func.zsh index 68c42e1..e57da98 100644 --- a/.zsh/func.zsh +++ b/.zsh/func.zsh @@ -21,7 +21,7 @@ escfpath(){ # Need to have spotify url in clipboard getSpotifyTitle(){ - curl -s $(xclip -o) | fq -r .html.head.title + curl -s $(xclip -sel clip -o) | fq -r .html.head.title } if [[ ! -z "NOTICA_URL" ]]; then