mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-08 13:49:07 -04:00
Add waybar
This commit is contained in:
parent
e0c17f71e2
commit
1ff2d77058
19 changed files with 1043 additions and 0 deletions
10
dot_config/waybar/modules/mpris/executable_album_art.bak.sh
Normal file
10
dot_config/waybar/modules/mpris/executable_album_art.bak.sh
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue