diff --git a/.zsh/func.zsh b/.zsh/func.zsh index 7c805a6..68c42e1 100644 --- a/.zsh/func.zsh +++ b/.zsh/func.zsh @@ -19,6 +19,11 @@ escfpath(){ printf "%q\n" "$(realpath "$1")" } +# Need to have spotify url in clipboard +getSpotifyTitle(){ + curl -s $(xclip -o) | fq -r .html.head.title +} + if [[ ! -z "NOTICA_URL" ]]; then notica() { curl --data "d:$*" "$NOTICA_URL" ; } fi \ No newline at end of file