From a80d4e2d36b377b3466db3b2628b9dec71fcfce2 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Sun, 9 Aug 2026 17:22:22 -0600 Subject: I'm not even sure. --- extras/HOME/.xmonad/xmobar-bluetooth | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'extras/HOME') diff --git a/extras/HOME/.xmonad/xmobar-bluetooth b/extras/HOME/.xmonad/xmobar-bluetooth index a3a3ac7..828c06a 100755 --- a/extras/HOME/.xmonad/xmobar-bluetooth +++ b/extras/HOME/.xmonad/xmobar-bluetooth @@ -2,6 +2,10 @@ cur="" +function output { + exec echo ''"$1"'' +} + if [ -d /sys/class/bluetooth ] ; then bluetoothctl -- info | while read line ; do @@ -13,10 +17,10 @@ if [ -d /sys/class/bluetooth ] ; then fi if [ "$key" == "Connected" -a "$value" == "yes" ] ; then - exec echo "$cur " + output "$cur " fi done fi -exec echo " " +output " " -- cgit