mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Update internet
This commit is contained in:
parent
92031af6fc
commit
8559b2f6a4
@ -16,7 +16,7 @@ esac
|
||||
|
||||
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
||||
down) wifiicon="No Wifi" ;;
|
||||
up) wifiicon=" $(nmcli connection show | awk '{ if ($5=="wlo1" ) {print "Wifi:"$1}}'
|
||||
up) wifiicon=" $(nmcli connection show | awk '{ if ($5=="wlo1" ) {print "Wifi: "$1" - "}}'
|
||||
): $(awk '/^\s*w/ { print int($3 * 100 / 70) "% " }' /proc/net/wireless)" ;;
|
||||
esac
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user