mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
Import from root chezmoi source
This commit is contained in:
commit
c8c8c9a000
77 files changed
+2443
No files matched your search
@@ -0,0 +1,17 @@
|
||||
[metadata]
|
||||
name = "wifi"
|
||||
description = "Scan and connect to WiFi networks"
|
||||
requirements = ["nmcli"]
|
||||
|
||||
[source]
|
||||
command = "nmcli -t -f SSID,SIGNAL,SECURITY device wifi list 2>/dev/null | grep -v '^:' | sort -t: -k2 -rn"
|
||||
display = "{split:\\::0} ({split:\\::1}% {split:\\::2})"
|
||||
output = "{split:\\::0}"
|
||||
|
||||
[preview]
|
||||
command = "nmcli -t -f SSID,BSSID,MODE,FREQ,SIGNAL,SECURITY,ACTIVE device wifi list 2>/dev/null | grep '^{split:\\::0}:'"
|
||||
|
||||
[actions.connect]
|
||||
description = "Connect to the selected network"
|
||||
command = "nmcli device wifi connect '{split:\\::0}'"
|
||||
mode = "execute"
|
||||
Reference in new issue
Block a user