Connect to wireless networks via dmenu.
- Networks sorted by signal strength
- Notifications via
dunst - Password entry via
dmenu
Download the script and place it somewhere on your $PATH, eg.
# For IWD users...
curl https://raw.githubusercontent.com/mattoberle/dmenu-iwd/main/dmenu-iwd >~/bin/dmenu-iwd
chmod +x ~/bin/dmenu-iwd
# For NetworkManager users...
curl https://raw.githubusercontent.com/mattoberle/dmenu-iwd/main/dmenu-nm >~/bin/dmenu-nm
chmod +x ~/bin/dmenu-nmChoose a key combination to bind in ~/.config/i3/config.
Run i3reload after to activate the binding.
# For IWD users...
bindsym $mod+n exec --no-startup-id dmenu-iwd
# For NetworkManager users...
bindsym $mod+n exec --no-startup-id dmenu-nm
Edit any of the following values.
STATION="wlan0"
FONT="Monospace"
NORMAL_BACKGROUND="#000000"
NORMAL_FOREGROUND="#8f8f8f"
SELECTED_BACKGROUND="#000000"
SELECTED_FOREGROUND="#00ff00"Remove "-b" from the FLAGS array to move the menu to the top.