4 lines
143 B
Bash
Executable File
4 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"
|