summaryrefslogtreecommitdiff
path: root/desktop/Local/share/barmodules/mpv.sh
diff options
context:
space:
mode:
authorRose <rose@pinkro.se>2025-10-10 11:29:10 +0200
committerRose <rose@pinkro.se>2025-10-10 11:29:10 +0200
commitb7dfa5fdb2330f1e1cd222365055c3d45ad473be (patch)
tree78e455c8c43c6c00fc4639932ba7315e8c074cd3 /desktop/Local/share/barmodules/mpv.sh
parent98424148dfe9ab666ee928df7565e65faa41b61b (diff)
downloaddotfiles-b7dfa5fdb2330f1e1cd222365055c3d45ad473be.tar.gz
dotfiles-b7dfa5fdb2330f1e1cd222365055c3d45ad473be.tar.bz2
all: Rework system structureHEADmain
Diffstat (limited to 'desktop/Local/share/barmodules/mpv.sh')
-rwxr-xr-xdesktop/Local/share/barmodules/mpv.sh8
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