Switch to qtile.

This commit is contained in:
Bartek Stalewski 2022-07-29 15:49:27 +02:00
parent 072f0ed604
commit 29788d6fec
75 changed files with 214 additions and 1 deletions

View file

@ -0,0 +1,9 @@
#!/bin/bash
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
down) printf "^c#ffffff^^b#770000^no wifi^d^" ;;
up)
[ -n "$(ip address show dev wlan0 | grep 'inet ')" ] \
&& printf "$(iw dev wlan0 info | grep 'ssid ' | cut -d' ' -f2-)" \
|| printf "^c#ffffff^^b#770000^no ip^d^" ;;
esac