From 474006cd2c173d02e4511045f07c04e159010d4e Mon Sep 17 00:00:00 2001 From: awy Date: Sun, 24 Aug 2025 14:08:03 +0300 Subject: cleanup --- .local/bin/sb-mpdup | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .local/bin/sb-mpdup (limited to '.local/bin/sb-mpdup') diff --git a/.local/bin/sb-mpdup b/.local/bin/sb-mpdup new file mode 100755 index 0000000..42bd737 --- /dev/null +++ b/.local/bin/sb-mpdup @@ -0,0 +1,8 @@ +#!/bin/sh + +# This loop will update the mpd statusbar module whenever a command changes the +# music player's status. mpd must be running on X's start for this to work. + +while : ; do + mpc idle >/dev/null && kill -45 "$(pidof "waybar")" || break +done -- cgit v1.2.3