commit 754cf876b1a116f69199f032b2bb26f55e4fded6 parent d3c85ee5bd5e169a43e66b94a639d2e96cf4448f Author: mpizzzle <m@michaelpercival.xyz> Date: Sun, 6 Sep 2020 13:23:20 +0100 wrapper for nmcli wifi connection Diffstat:
| A | .local/bin/wifi.sh | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/.local/bin/wifi.sh b/.local/bin/wifi.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +SSID=$(nmcli device wifi list | awk '{ print $3 };' | fzf) + +nmcli --ask device wifi connect "$SSID"