diff options
author | Ben Sima <ben@bsima.me> | 2022-09-02 09:59:08 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-09-02 09:59:08 -0400 |
commit | 35416ace2f49f05f44b21e163ed0bb544f0ca971 (patch) | |
tree | 63b60785d49ac58ee9cbc4fa5dda8310e0ec9aab | |
parent | dd26430e414ec120d1aa6dd528724db16a347a89 (diff) |
add wifi script
-rwxr-xr-x | wifi | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# +# +## + nmcli --ask --colors yes d wifi \ + | fzf \ + --ansi \ + --header "^R: reload | ^M: activate" \ + --header-lines 1 \ + --reverse \ + --delimiter '[[:space:]][[:space:]]+' \ + --bind "enter:execute(nmcli --ask d wifi c {2})" \ + --bind "ctrl-r:reload(nmcli --colors yes d wifi)" |