Crates.io | network-dmenu |
lib.rs | network-dmenu |
version | 1.6.5 |
source | src |
created_at | 2024-07-19 16:24:55.114846 |
updated_at | 2024-08-31 15:19:48.597177 |
description | A dmenu-based Tailscale and Wi-Fi network selector with support for NetworkManager and iwd. |
homepage | https://github.com/cyrinux/network-dmenu |
repository | https://github.com/cyrinux/network-dmenu |
max_upload_size | |
id | 1308837 |
size | 136,609 |
A simple dmenu-based selector to manage Tailscale exit nodes, networkmanager, iwd and custom actions. This tool allows you to quickly enable or disable Tailscale, set Tailscale exit nodes including Mullvad VPN, and execute custom actions and more via a dmenu interface.
cargo install --locked network-dmenu
fontawesomes
and/or joypixels
fonts.pinentry-gnome3
for the wifi password prompt.dmenu
or compatible.nmcli
or just iwd
, optional, for wifi.bluetoothctl
, optional, for bluetooth.The configuration file is located at ~/.config/network-dmenu/config.toml
. If it doesn't exist, a default configuration will be created automatically.
[[actions]]
display = "😀 Example"
cmd = "notify-send 'hello' 'world'"
You can add more actions by editing this file.
Run the following command to open the dmenu selector:
network-dmenu
Select an action from the menu. The corresponding command will be executed.
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
This project is licensed under the ISC License. See the LICENSE file for details.