diff --git a/.config/polybar/bluetooth.sh b/.config/polybar/bluetooth.sh index ad83d5a..5df0214 100755 --- a/.config/polybar/bluetooth.sh +++ b/.config/polybar/bluetooth.sh @@ -8,8 +8,8 @@ else then echo -e "\uf293" else - BAT=$(bluetoothctl info | grep Percentage | cut -d":" -f 2 | cut -d"(" -f 2 | sed 's/)/%/') - echo -e "%{F#81a1c1}\uf293 %{F#ffffff}$BAT" + BAT=$(bluetoothctl info | grep Percentage | cut -d":" -f 2 | cut -d"(" -f 2 | sed 's/)/%/' | sed 's/^/ /') + echo -e "%{F#81a1c1}\uf293%{F#ffffff}$BAT" fi fi