diff options
Diffstat (limited to 'dot-config/sketchybar/plugins/network.sh')
| -rwxr-xr-x | dot-config/sketchybar/plugins/network.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dot-config/sketchybar/plugins/network.sh b/dot-config/sketchybar/plugins/network.sh deleted file mode 100755 index e1790ae..0000000 --- a/dot-config/sketchybar/plugins/network.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -NETWORK="$(scutil --nwi | awk -F': ' '/Network interfaces/ {print $2;}')" - -# Split devices into array -IFS=' ' read -ra SERVICES <<< "$NETWORK" - -# Check the first device -case "${SERVICES}" in - # check if no devices - "") ICON="" - ;; - # if en0, then wifi - "en0") ICON="" - ;; - # else, must be hardwired - *) ICON="" -esac - -sketchybar --set "$NAME" icon="$ICON" |
