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/.config/kitty/kitty.conf | 10 ++++++++++ desktop/.local/share/barmodules/mpv.sh | 6 ++++++ desktop/.local/share/barmodules/qmmp.sh | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 desktop/.config/kitty/kitty.conf create mode 100755 desktop/.local/share/barmodules/mpv.sh (limited to 'desktop') diff --git a/desktop/.config/kitty/kitty.conf b/desktop/.config/kitty/kitty.conf new file mode 100644 index 0000000..8fd84e5 --- /dev/null +++ b/desktop/.config/kitty/kitty.conf @@ -0,0 +1,10 @@ +# font_family Misc Fixed +font_size 13.0 + + +# BEGIN_KITTY_FONTS +font_family family="OG Courier Zero Slash" +bold_font auto +italic_font auto +bold_italic_font auto +# END_KITTY_FONTS \ No newline at end of file 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