configuration/local/bin/connect

4 lines
143 B
Plaintext
Raw Normal View History

2016-02-03 08:50:07 +01:00
#!/bin/bash
2016-04-01 09:08:46 +02:00
profile="$(wifish list 2>&1 | sed '1,/SSID/d' | sed 's/"\([^"]*\)".*/\1/' | dmenu)"
[ -z "$profile" ] && wifish connect "$profile"