ericmurphyxyz / rofi-wifi-menu

A bash script using nmcli and rofi to make a wifi menu for your favorite window manager
208 stars 15 forks source link

using a single instance of sed instead of 5 #2

Closed iamlambda closed 2 years ago

iamlambda commented 2 years ago

you may want to keep line 19 as it was if you think it's more clear to keep = "". -z is a flag that checks if a string is empty or not, so it basically checks the exact same thing that = "" does