summaryrefslogtreecommitdiff
path: root/dot-config/sketchybar/plugins/network.sh
diff options
context:
space:
mode:
authorJosé Juan Loeza Sierra <jj@xz6ze.com>2025-07-07 21:45:52 -0700
committerJosé Juan Loeza Sierra <jj@xz6ze.com>2025-07-07 21:45:52 -0700
commita7dd1fd423b1317e96eaa926654166a5670d5385 (patch)
treef613bd5db11db79cedb6ed77dcfb89a50dc91510 /dot-config/sketchybar/plugins/network.sh
parent737094ff0fb0e39f39867a5a7353ae4ebc81e92c (diff)
remove aerospace and sketchybar
Diffstat (limited to 'dot-config/sketchybar/plugins/network.sh')
-rwxr-xr-xdot-config/sketchybar/plugins/network.sh20
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"