diff options
Diffstat (limited to 'desktop/Local/share/barmodules/mpv.sh')
-rwxr-xr-x | desktop/Local/share/barmodules/mpv.sh | 8 |
1 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..a3fe2ec --- /dev/null +++ b/desktop/Local/share/barmodules/mpv.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ -f /tmp/mpvout ]; then + echo -n "mpv: " + tail -1 /tmp/mpvout | tr -d '\n' +else + echo -n "mpv: stopped" +fi |