summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-06-19 22:00:26 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2026-06-19 22:00:26 +0200
commit38e07333b588095124b32e7ae60ae9e288358250 (patch)
treeac3bd4bc037c0a58d7be3ec0c80106fa149bbe7b
parent090d3e1dd5c66460768f1959e59923e26d49145c (diff)
downloadconfig-38e07333b588095124b32e7ae60ae9e288358250.tar.gz
config-38e07333b588095124b32e7ae60ae9e288358250.zip
Improve network menu (maybe)
-rw-r--r--.profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/.profile b/.profile
index bdffbdf..6a51b62 100644
--- a/.profile
+++ b/.profile
@@ -41,6 +41,7 @@ alias c='iwctl station wlan0 connect'
41alias e='doas ip link set eth1 up && doas udhcpc -i eth1 -n' 41alias e='doas ip link set eth1 up && doas udhcpc -i eth1 -n'
42alias d='iwctl station wlan0 disconnect' 42alias d='iwctl station wlan0 disconnect'
43wm() { 43wm() {
44 iwctl station wlan0 scan
44 iwctl station wlan0 get-networks | \ 45 iwctl station wlan0 get-networks | \
45 uncolor | tail -n -4 | head -n -1 | \ 46 uncolor | tail -n -4 | head -n -1 | \
46 grep -e '^ ' | sed 's/^ //' | sed 's/ .*//' | \ 47 grep -e '^ ' | sed 's/^ //' | sed 's/ .*//' | \

Generated with cgit - Back to sebastiano.tronto.net