/dmenu-iwd

dmenu interface for iwd/iwctl

Primary LanguageShellMIT LicenseMIT

dmenu-iwd

Connect to wireless networks via dmenu.

Features

  • Networks sorted by signal strength
  • Notifications via dunst
  • Password entry via dmenu

Requirements

Installation

Download the script and place it somewhere on your $PATH, eg.

curl https://raw.githubusercontent.com/mattoberle/dmenu-iwd/main/dmenu-iwd >~/bin/dmenu-iwd
chmod +x ~/bin/dmenu-iwd

i3 Integration

Choose a key combination to bind in ~/.config/i3/config.

Run i3reload after to activate the binding.

bindsym $mod+n exec --no-startup-id dmenu-iwd

Customization

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.