#dmenu #wifi #networking #vpn #tailscale #config-file

app network-dmenu

A dmenu-based Tailscale and Wi-Fi network selector with support for NetworkManager and iwd

7 stable releases

new 1.6.6 Nov 11, 2024
1.6.5 Aug 31, 2024
1.6.1 Jul 22, 2024

#118 in GUI

Download history 53/week @ 2024-07-26 184/week @ 2024-08-02 5/week @ 2024-08-09 1/week @ 2024-08-16 129/week @ 2024-08-30 9/week @ 2024-09-06 16/week @ 2024-09-13 10/week @ 2024-09-20 4/week @ 2024-09-27 1/week @ 2024-10-04 107/week @ 2024-11-08

107 downloads per month

MIT license

53KB
1K SLoC

Network dmenu Selector

Logo

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.

Features

  • Enable or disable Tailscale
  • Set Tailscale exit nodes
  • Set mullvad exit nodes
  • Customizable actions via a configuration file
  • Bluetooth connect and disconnect to known devices
  • Connect to wifi devices
  • Execute custom actions

Installation

  1. Ensure you have Rust installed. If not, you can install it from rust-lang.org.
  2. Install
    cargo install --locked network-dmenu
    

Requirements

  • 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.

Configuration

The configuration file is located at ~/.config/network-dmenu/config.toml. If it doesn't exist, a default configuration will be created automatically.

Default Configuration

[[actions]]
display = "😀 Example"
cmd = "notify-send 'hello' 'world'"

You can add more actions by editing this file.

Usage

Run the following command to open the dmenu selector:

network-dmenu

Select an action from the menu. The corresponding command will be executed.

Dependencies

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

This project is licensed under the ISC License. See the LICENSE file for details.

Dependencies

~15–50MB
~814K SLoC