diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-12 18:44:39 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-12 18:44:39 +0100 |
commit | 84ac9a70cc70272ee181aa0a3e0276fc8de673fd (patch) | |
tree | ef096b2f6bec78782792a841481501eed83ba3dc /bin/guiscripts/slmpd | |
parent | fab8d61418e2652881a56b586588f3373df5f971 (diff) |
added more guiscripts
Diffstat (limited to 'bin/guiscripts/slmpd')
-rwxr-xr-x | bin/guiscripts/slmpd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/guiscripts/slmpd b/bin/guiscripts/slmpd new file mode 100755 index 0000000..1e573ac --- /dev/null +++ b/bin/guiscripts/slmpd @@ -0,0 +1,6 @@ +#!/bin/sh +if mpc > /dev/null 2>&1 +then + test "`mpc status %totaltime%`" = "0:00" || + echo -n "$(mpc status "%currenttime%/%totaltime%") $(mpc current)" +fi |