Move all suckless stuff to unused.

This commit is contained in:
Bartek Stalewski 2023-02-26 13:47:42 +01:00
parent cb44e12e67
commit 0e403387f2
68 changed files with 0 additions and 0 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