configuration/local/bin/connect
Felix Van der Jeugt 2afe705647 clean up scripts
2016-04-01 09:08:46 +02:00

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"