move scripts to scripts repo

This commit is contained in:
2025-03-16 18:59:53 -07:00
parent c326a20a99
commit fac34d4a8f
6 changed files with 6 additions and 330 deletions

View File

@@ -1,18 +0,0 @@
#!/bin/sh
STATUS="$(playerctl -p firefox status)"
if [ -z "$STATUS" ] || [ "$STATUS" = "Stopped" ]; then
exit 0
elif [ "$STATUS" = "Paused" ]; then
STATUS=" "
elif [ "$STATUS" = "Playing" ]; then
STATUS=" "
else
exit 0
fi
TITLE="$(playerctl -p firefox metadata title)"
ARTIST="$(playerctl -p firefox metadata artist)"
printf "%s\n" "$STATUS$TITLE - $ARTIST"

1
scripts/firefox-status.sh Symbolic link
View File

@@ -0,0 +1 @@
../../../projects/scripts/waybar/firefox-status.sh