aboutsummaryrefslogtreecommitdiff
path: root/config/fish
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2016-05-15 20:42:08 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2016-05-15 20:42:08 +0200
commita673f920852a8a566f325b4cebe5cfe4b556aa1a (patch)
treee05e91ce25a5ae26cd6b14208e845cf161898f1e /config/fish
parent5c4abeefb5fb5fc899dc698b5cc7005d77e3f918 (diff)
downloaddotfiles-a673f920852a8a566f325b4cebe5cfe4b556aa1a.tar.gz
dotfiles-a673f920852a8a566f325b4cebe5cfe4b556aa1a.zip
rework setup.py to handle sensible files
setup.py: + files ending with .gpg will be decrypted and stored in decrypted/ + detect if root privileges are requiered and request them with sudo + use argparse instead of manually parsing sys.argv add function to start the FAU Wlan and the requiered wpa_supplicant config
Diffstat (limited to 'config/fish')
-rw-r--r--config/fish/functions/start_uni_wlan.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/fish/functions/start_uni_wlan.fish b/config/fish/functions/start_uni_wlan.fish
new file mode 100644
index 0000000..0d17e69
--- /dev/null
+++ b/config/fish/functions/start_uni_wlan.fish
@@ -0,0 +1,4 @@
+function start_uni_wlan --description "starts wpa_supplicant and dhcpcd"
+ sudo wpa_supplicant -B -iwlp2s0 -D wext -c /etc/wpa_supplicant/fau_stud.conf
+ sudo dhcpcd wlp2s0
+end