From 92ca447acde1c35939eae757b3f7ca2514a5c6f8 Mon Sep 17 00:00:00 2001 From: Christian Bachhelm Date: Mon, 2 Jan 2023 22:49:15 +0100 Subject: [PATCH] [Polybar] Change disconnected text for bluetooth module --- .config/polybar/scripts/bluetooth.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/polybar/scripts/bluetooth.sh b/.config/polybar/scripts/bluetooth.sh index 87f47bb..9546da6 100755 --- a/.config/polybar/scripts/bluetooth.sh +++ b/.config/polybar/scripts/bluetooth.sh @@ -7,7 +7,7 @@ # not connected if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ] then - echo "not connected" + echo "off" else # connected, but no device if [ $(echo info | bluetoothctl | grep 'Device' | wc -c) -eq 0 ]