From a16bdfe930d89e1a7fb354b78d16e8742118f76d Mon Sep 17 00:00:00 2001 From: Rasmus Date: Sat, 8 Apr 2023 00:27:03 +0300 Subject: checkers --- local/.local/scripts/wificon | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 local/.local/scripts/wificon (limited to 'local/.local/scripts/wificon') diff --git a/local/.local/scripts/wificon b/local/.local/scripts/wificon new file mode 100755 index 0000000..fc43c2c --- /dev/null +++ b/local/.local/scripts/wificon @@ -0,0 +1,5 @@ +#! /bin/bash + +wifinimi=$(nmcli device wifi list | sed -n '1!p' | cut -b 9- | dmenu -p "Select Wifi: " -l 20 | cut -d' ' -f1) +pass=$(echo "" | dmenu -p "Enter Password: ") +nmcli device wifi connect $wifinimi password $pass -- cgit v1.2.3