Merge branch 'main' of git.zander.im:Zander671/dwmblocks

This commit is contained in:
Alexander Rosenberg 2023-02-23 09:23:04 -08:00
commit 0c37278ced
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -4,6 +4,7 @@ if [[ "$(uname)" = 'Linux' ]]; then
local active_networks="$(nmcli c s --active)"
local output=''
[[ "${active_networks}" = *' wifi '* ]] && output="${output}直 "
[[ "${active_networks}" = *' ethernet '* ]] && output="${output}"
[[ "${active_networks}" = *' wireguard '* ]] && output="${output}嬨 "
(( ${#output} == 0 )) && output=''
bluetoothctl show | grep 'Powered: yes' >/dev/null && output="${output} "