summaryrefslogtreecommitdiffstats
path: root/eww/scripts/wifi
diff options
context:
space:
mode:
Diffstat (limited to 'eww/scripts/wifi')
-rwxr-xr-xeww/scripts/wifi4
1 files changed, 4 insertions, 0 deletions
diff --git a/eww/scripts/wifi b/eww/scripts/wifi
new file mode 100755
index 0000000..ae6fe2f
--- /dev/null
+++ b/eww/scripts/wifi
@@ -0,0 +1,4 @@
+ case "$(cat /sys/class/net/wl*/operstate 2>/dev/null)" in
+ up) printf "󰤨" ;;
+ down) printf "󰤭" ;;
+ esac