Initial commit for build of dwmblocks

This commit is contained in:
Alex Selimov 2024-01-25 19:34:10 -05:00
commit e60906dbc6
14 changed files with 416 additions and 0 deletions

8
scripts/bar_wifi.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
down) echo " 󰖪 ";;
up) percentage="$(awk '/^\s*w/ { print int($3 * 100 / 70) "% " }' /proc/net/wireless)"
ssid=$(iwgetid -r)
echo \ $ssid 
esac