Add waybar

This commit is contained in:
Hydroxycarbamide 2024-05-14 19:47:03 +02:00
parent e0c17f71e2
commit 1ff2d77058
19 changed files with 1043 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#!/bin/bash
album_art=$(playerctl metadata mpris:artUrl)
if [[ -z $album_art ]]
then
# spotify is dead, we should die to.
exit
fi
curl -s "${album_art}" --output "/tmp/cover.jpeg"
echo "/tmp/cover.jpeg"