aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/scripts/album_art.sh
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-27 03:44:14 +0300
committerawy <awy@tutamail.com>2024-08-27 03:44:14 +0300
commit8c24921832b2b6dc95bbb41dbfe2de7ff4fcf877 (patch)
treeb8bfc2d150de60d0f989843cb67bc0c6fd380366 /.config/waybar/scripts/album_art.sh
parent01b0a486d1190b88ee40458b4e16bcd6fa0c93bc (diff)
update
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"