update waybar to catppuccin macchiato

This commit is contained in:
2025-03-15 14:29:31 -07:00
parent 4591a5d65c
commit c326a20a99
12 changed files with 967 additions and 26 deletions

18
scripts/firefox-status.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/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"