From b7dfa5fdb2330f1e1cd222365055c3d45ad473be Mon Sep 17 00:00:00 2001 From: Rose Date: Fri, 10 Oct 2025 11:29:10 +0200 Subject: all: Rework system structure --- desktop/Local/share/barmodules/mpv.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 desktop/Local/share/barmodules/mpv.sh (limited to 'desktop/Local/share/barmodules/mpv.sh') 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 -- cgit v1.2.3