fix: fixed conflicts + moving to yadm

This commit is contained in:
2026-02-20 17:21:21 +03:00
parent 03128d0bcf
commit b5f443916b
553 changed files with 704 additions and 256 deletions

View File

@@ -0,0 +1,27 @@
#!/bin/sh
while true; do
player_status=$(playerctl status 2>/dev/null)
if [ -z "$(playerctl metadata album)" ]; then
if [ "$player_status" = "Playing" ]; then
echo "$(playerctl metadata artist) - $(playerctl metadata title)"
elif [ "$player_status" = "Paused" ]; then
echo "$(playerctl metadata artist) - $(playerctl metadata title)"
else
echo ""
fi
else
if [ "$player_status" = "Playing" ]; then
echo "<span color='#1db954'></span> $(playerctl metadata artist) - $(playerctl metadata title)"
elif [ "$player_status" = "Paused" ]; then
echo "<span color='#1db954'></span>  $(playerctl metadata artist) - $(playerctl metadata title)"
else
echo ""
fi
fi
sleep 1
done