aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/scripts/album_art.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar/scripts/album_art.sh')
-rwxr-xr-x.config/waybar/scripts/album_art.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/.config/waybar/scripts/album_art.sh b/.config/waybar/scripts/album_art.sh
deleted file mode 100755
index 5a8cdab..0000000
--- a/.config/waybar/scripts/album_art.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-album_art=$(playerctl -p spotify_player metadata mpris:artUrl)
-if [[ -z $album_art ]]
-then
- # spotify is dead, we should die too.
- exit
-fi
-curl -s "${album_art}" --output "/tmp/cover.jpeg"
-echo "/tmp/cover.jpeg"