mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-18 16:26:50 +00:00
add -sel clip to getspotify title funcion
This commit is contained in:
parent
15cd34a320
commit
ba6e5930d1
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ escfpath(){
|
||||||
|
|
||||||
# Need to have spotify url in clipboard
|
# Need to have spotify url in clipboard
|
||||||
getSpotifyTitle(){
|
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
|
if [[ ! -z "NOTICA_URL" ]]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue