From 76eefcf2c5da10c29919e8b114ad080149bab211 Mon Sep 17 00:00:00 2001 From: Rose Date: Sat, 27 Sep 2025 20:42:57 +0200 Subject: desktop: Add mpv barmodule, change kitty font --- desktop/.local/share/barmodules/mpv.sh | 6 ++++++ desktop/.local/share/barmodules/qmmp.sh | 2 ++ 2 files changed, 8 insertions(+) create mode 100755 desktop/.local/share/barmodules/mpv.sh (limited to 'desktop/.local/share') 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 -- cgit v1.2.3