diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-06-19 22:00:26 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-06-19 22:00:26 +0200 |
| commit | 38e07333b588095124b32e7ae60ae9e288358250 (patch) | |
| tree | ac3bd4bc037c0a58d7be3ec0c80106fa149bbe7b | |
| parent | 090d3e1dd5c66460768f1959e59923e26d49145c (diff) | |
| download | config-38e07333b588095124b32e7ae60ae9e288358250.tar.gz config-38e07333b588095124b32e7ae60ae9e288358250.zip | |
Improve network menu (maybe)
| -rw-r--r-- | .profile | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -41,6 +41,7 @@ alias c='iwctl station wlan0 connect' | |||
| 41 | alias e='doas ip link set eth1 up && doas udhcpc -i eth1 -n' | 41 | alias e='doas ip link set eth1 up && doas udhcpc -i eth1 -n' |
| 42 | alias d='iwctl station wlan0 disconnect' | 42 | alias d='iwctl station wlan0 disconnect' |
| 43 | wm() { | 43 | wm() { |
| 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/ .*//' | \ |
