From 3eed51580eb933ccc0d91a039ab7ddc24f0ce17f Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 21 Feb 2023 14:18:19 -0800 Subject: [PATCH] Add ethernet to dwmblocks-network --- scripts/dwmblocks-network | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/dwmblocks-network b/scripts/dwmblocks-network index 9f929bf..7a5c1e1 100755 --- a/scripts/dwmblocks-network +++ b/scripts/dwmblocks-network @@ -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} "