diff options
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 8 |
1 files changed, 0 insertions, 8 deletions
| @@ -37,16 +37,8 @@ alias svi='vi "+so $HOME/.virc-spaces"' | |||
| 37 | 37 | ||
| 38 | # Network management | 38 | # Network management |
| 39 | alias w='iwctl station wlan0 get-networks' | 39 | alias w='iwctl station wlan0 get-networks' |
| 40 | alias c='iwctl station wlan0 connect' | ||
| 41 | alias e='doas ip link set eth1 up && doas udhcpc -i eth1 -n' | 40 | alias e='doas ip link set eth1 up && doas udhcpc -i eth1 -n' |
| 42 | alias d='iwctl station wlan0 disconnect' | 41 | alias d='iwctl station wlan0 disconnect' |
| 43 | wm() { | ||
| 44 | iwctl station wlan0 scan | ||
| 45 | iwctl station wlan0 get-networks | \ | ||
| 46 | uncolor | tail -n -4 | head -n -1 | \ | ||
| 47 | grep -e '^ ' | sed 's/^ //' | sed 's/ .*//' | \ | ||
| 48 | fzf | xargs iwctl station wlan0 connect | ||
| 49 | } | ||
| 50 | 42 | ||
| 51 | # Email management (mblaze) | 43 | # Email management (mblaze) |
| 52 | MAIL=$HOME/mail | 44 | MAIL=$HOME/mail |
