Add space after bluetooth in network

This commit is contained in:
Alexander Rosenberg 2023-09-09 20:31:16 -07:00
parent 4aaf17b26a
commit 3b0049fed5
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -7,7 +7,7 @@ if [[ "$(uname)" = 'Linux' ]]; then
[[ "${active_networks}" = *' ethernet '* ]] && output="${output}󰈁" [[ "${active_networks}" = *' ethernet '* ]] && output="${output}󰈁"
[[ "${active_networks}" = *' wireguard '* ]] && output="${output}󰖂 " [[ "${active_networks}" = *' wireguard '* ]] && output="${output}󰖂 "
(( ${#output} == 0 )) && output='󰈂' (( ${#output} == 0 )) && output='󰈂'
bluetoothctl show | grep 'Powered: yes' >/dev/null && output="${output} " bluetoothctl show | grep 'Powered: yes' >/dev/null && output="${output}  "
printf '%s\n' "${output}" printf '%s\n' "${output}"
else else
echo "${0}: error: unknown os: \"$(uname)\"" >&2 echo "${0}: error: unknown os: \"$(uname)\"" >&2