From df654b7eaa7d2d71f08d38c12309851a4fb9712c Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Tue, 20 Oct 2020 17:33:27 -0400 Subject: Now using mw sync with dwmblocks --- .local/bin/dwmbar/dwmb-internet | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 .local/bin/dwmbar/dwmb-internet (limited to '.local/bin/dwmbar/dwmb-internet') diff --git a/.local/bin/dwmbar/dwmb-internet b/.local/bin/dwmbar/dwmb-internet new file mode 100755 index 0000000..102a6a4 --- /dev/null +++ b/.local/bin/dwmbar/dwmb-internet @@ -0,0 +1,10 @@ +#!/bin/sh + +case "$(cat /sys/class/net/wlp0s20f3/operstate)" in + up) echo "  " ;; + down) echo "  " ;; +esac + +#  +#  +#  -- cgit v1.2.3