From c64043053d4c032769211a04c51b43eeb102c771 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 18 Mar 2025 21:24:42 +0000 Subject: change bg and font --- scripts/mpd-zscroll | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.1