1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-19 00:07:47 +02:00

Compare commits

..

No commits in common. "fa224c4deb9c3f55a72fdab38cb146b976774ddf" and "bac7f7fa66e978dbab770412accf98e361743b0f" have entirely different histories.

View File

@ -2,7 +2,7 @@
wifipercent=" 0" wifipercent=" 0"
[ "$(cat /sys/class/net/w*/operstate)" = 'down' ] && wifiicon="^c#ff0000^ ^d^ " && wifistatus="down" [ "$(cat /sys/class/net/w*/operstate)" = 'down' ] && wifiicon="^c#ff0000^ " && wifistatus="down"
[ ! -n "${wifiicon+var}" ] && wifistatus="up" && wifipercent=$(grep "^\s*w" /proc/net/wireless | awk '{ print int($3 * 100 / 70) }') [ ! -n "${wifiicon+var}" ] && wifistatus="up" && wifipercent=$(grep "^\s*w" /proc/net/wireless | awk '{ print int($3 * 100 / 70) }')