Skip to content

Commit

Permalink
[Polybar] Change disconnected text for bluetooth module
Browse files Browse the repository at this point in the history
  • Loading branch information
Cribac committed Jan 2, 2023
1 parent 105ee4a commit 92ca447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/polybar/scripts/bluetooth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down

0 comments on commit 92ca447

Please sign in to comment.