3 lines
143 B
Bash
Executable file
3 lines
143 B
Bash
Executable file
#!/bin/bash
|
|
profile="$(wifish list 2>&1 | sed '1,/SSID/d' | sed 's/"\([^"]*\)".*/\1/' | dmenu)"
|
|
[ -z "$profile" ] && wifish connect "$profile"
|