From af120ab348f2e1a5a39dec035ed9dcf84189a64e Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 3 Oct 2022 21:42:20 +0530 Subject: dotfiles --- eww/scripts/wifi | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 eww/scripts/wifi (limited to 'eww/scripts/wifi') 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 -- cgit v1.2.3-59-g8ed1b