summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2025-03-18 21:24:42 +0000
committerdavidovski <david@davidovski.xyz>2025-03-18 21:24:42 +0000
commitc64043053d4c032769211a04c51b43eeb102c771 (patch)
tree231b0bdbb32cf3974859296188ee22469e0951af /scripts
parentb3b4975df588e7c71bebb3cd7f4e83fd7a70b983 (diff)
change bg and font
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mpd-zscroll9
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/mpd-zscroll b/scripts/mpd-zscroll
index eba586b..59ec3b9 100755
--- a/scripts/mpd-zscroll
+++ b/scripts/mpd-zscroll
@@ -1,5 +1,10 @@
#!/bin/sh
-zscroll -l 17 --before-text "♪ " --delay 0.3 \
- --update-check true "mpc current" &
+if [ ! -z "$@" ]; then
+ mpc -f "%title%" current
+else
+ zscroll -l 14 --before-text "󰎇 " --delay 0.2 \
+ --update-check true "$0 current" -p " " &
+fi
+
wait