summaryrefslogtreecommitdiff
path: root/desktop/.local
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/.local')
-rwxr-xr-xdesktop/.local/share/barmodules/mpv.sh6
-rwxr-xr-xdesktop/.local/share/barmodules/qmmp.sh2
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