clean up scripts

This commit is contained in:
Felix Van der Jeugt 2016-04-01 09:08:46 +02:00
parent f6432702bd
commit 2afe705647
10 changed files with 2 additions and 20 deletions

View file

@ -1,3 +1,3 @@
#!/bin/bash
profile="$(netctl list | dmenu | sed 's/.* //')"
urxvtc -e sudo netctl switch-to "$profile"
profile="$(wifish list 2>&1 | sed '1,/SSID/d' | sed 's/"\([^"]*\)".*/\1/' | dmenu)"
[ -z "$profile" ] && wifish connect "$profile"