update scripts

This commit is contained in:
2023-03-02 14:37:56 +05:00
parent dd5cfd84fa
commit db2199c05b
6 changed files with 62 additions and 35 deletions

View File

@ -6,7 +6,7 @@ COLOR2="#005083"
power=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f8)
name=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f14)
if [[ ! $name ]]
if [ ! $name ]
then
echo "^b$COLOR1^^c$COLOR2^  ^c$COLOR1^^b$COLOR2^  ^d^"
else