summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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