iwmenu
(iNet Wireless Menu) allows using your menu of choice to manage the wireless network.
Important
This project is under active development; features may change.
iwd must be installed, along with either a supported launcher or any stdin
mode launcher.
Note
To ensure proper icon display, you can either install nerdfonts for font-based icons (usage is optional) or use the --icon xdg
flag for image-based icons from your XDG theme.
Use custom
mode if your launcher is not supported.
Run the following commands:
git clone https://github.com/e-tho/iwmenu
cd iwmenu
cargo build --release
An executable file will be generated at target/release/iwmenu
, which you can then copy to a directory in your $PATH
.
Add the flake as an input:
inputs.iwmenu.url = "github:e-tho/iwmenu";
Install the package:
{ inputs, ... }:
{
environment.systemPackages = [ inputs.iwmenu.packages.${pkgs.system}.default ];
}
Install the package with your favorite AUR helper:
paru -S iwmenu-git
Install the package from GURU overlay:
sudo eselect repository enable guru
sudo emaint sync -r guru
sudo emerge -a net-wireless/iwmenu
Specify an application using -m
or --menu
flag.
iwmenu -m fuzzel
Specify custom
as the menu and set your command using the --menu-command
flag. Ensure your launcher supports stdin
mode, and that it is properly configured in the command.
iwmenu -m custom --menu-command "my_custom_launcher --flag"
Use either {prompt}
or {placeholder}
as the value for the relevant flag in your command; each will be replaced with the appropriate text as needed. They return the same string, with {prompt}
adding a colon at the end.
iwmenu -m custom --menu-command "my_custom_launcher --prompt-flag '{prompt}'" # or --placeholder-flag '{placeholder}'
To enable support for password obfuscation, set the appropriate flag via {password_flag:--my-password-flag}
.
iwmenu -m custom --menu-command "my_custom_launcher {password_flag:--my-password-flag}"
This example demonstrates enabling all available features in custom mode with fuzzel
.
iwmenu -m custom --menu-command "fuzzel -d -p '{prompt}' {password_flag:--password}"
Flag | Description | Supported Values | Default Value |
---|---|---|---|
-m , --menu |
Specify the menu application to use. | dmenu , rofi , wofi , fuzzel , custom |
dmenu |
--menu-command |
Specify the command to use when custom menu is set. |
Any valid shell command | None |
-i , --icon |
Specify the icon type to use. | font , xdg |
font |
-s , --spaces |
Specify icon to text space count (font icons only). | Any positive integer | 1 |
GPLv3