Add conkys and wallpapers

This commit is contained in:
kuben
2019-11-03 15:04:22 +01:00
parent a58cdb6355
commit 86764734fd
57 changed files with 1669 additions and 0 deletions

22
.conky/music/fetch_meta.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
old_meta=""
while :
do
if [ "$(playerctl status)" = "Playing" ]
then
new_meta=$(playerctl metadata)
if [ "$new_meta" != "$old_meta" ]
then
echo $new_meta > ~/.conky/music/meta
old_meta=$new_meta
fi
else
new_meta=''
if [ -e ~/.conky/music/meta ]
then
rm ~/.conky/music/meta
fi
fi
sleep 1
done