diff options
Diffstat (limited to 'desktop/.local')
-rwxr-xr-x | desktop/.local/share/barmodules/mpv.sh | 6 | ||||
-rwxr-xr-x | desktop/.local/share/barmodules/qmmp.sh | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/desktop/.local/share/barmodules/mpv.sh b/desktop/.local/share/barmodules/mpv.sh new file mode 100755 index 0000000..78b2f7a --- /dev/null +++ b/desktop/.local/share/barmodules/mpv.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +if [ -f /tmp/mpvout ]; then + echo -n "mpv: " + tail -1 /tmp/mpvout | tr -d '\n' +fi diff --git a/desktop/.local/share/barmodules/qmmp.sh b/desktop/.local/share/barmodules/qmmp.sh index e93b8d0..a0ec01e 100755 --- a/desktop/.local/share/barmodules/qmmp.sh +++ b/desktop/.local/share/barmodules/qmmp.sh @@ -8,4 +8,6 @@ if [ $? -eq 0 ]; then echo -n "$nowplaying" fi echo -n "$(qmmp --status | head -1)" +else + echo -n "qmmp: Exited" fi |