scripts sorted

This commit is contained in:
Luke Smith
2018-11-05 17:51:24 -05:00
parent cd667e6aa1
commit 2f4c2a68a1
64 changed files with 273 additions and 331 deletions

9
.scripts/statusbar/i3wifi Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
case $BLOCK_BUTTON in
1) $TERMINAL -e nmtui ;;
esac
[ "$(cat /sys/class/net/w*/operstate)" = 'down' ] && echo 📡 && exit
grep ^w /proc/net/wireless | awk '{ print "📶", int($3 * 100 / 70) "%" }'