Hi all,
I'd like to show wifi status not as numbers but as off / on / enabled
State in numbers being as per:
#NWSTATE# WiFi State (0 disabled, 1 enabled, 2 connected)
So far I've manage to code as follows for off or on:
Wifi $#NWSTATE#=0?disabled:enabled$
how do I modify the code to show the 3rd state of connected please?
I'd like to show wifi status not as numbers but as off / on / enabled
State in numbers being as per:
#NWSTATE# WiFi State (0 disabled, 1 enabled, 2 connected)
So far I've manage to code as follows for off or on:
Wifi $#NWSTATE#=0?disabled:enabled$
how do I modify the code to show the 3rd state of connected please?
Aucun commentaire:
Enregistrer un commentaire