1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

statusbar: updated scripts

This commit is contained in:
2023-10-14 00:12:13 +02:00
parent 78bfabfc08
commit 8097527147
2 changed files with 1 additions and 9 deletions

View File

@@ -6,7 +6,3 @@
[ ! -n "${wifiicon+var}" ] && wifiicon=$(grep "^\s*w" /proc/net/wireless | awk '{ print "", int($3 * 100 / 70) "%" }')
printf "%s %s\n" "$(cat /sys/class/net/e*/operstate | sed "s/down//;s/up/󰈀/")" "$wifiicon"
case $BLOCK_BUTTON in
1) $TERMINAL -e "nmtui" ;;
esac