All Projects → firecat53 → Networkmanager Dmenu

firecat53 / Networkmanager Dmenu

Licence: mit
Control NetworkManager via dmenu

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Networkmanager Dmenu

bspwm-config
Green themed bspwm configuration for ricing lovers
Stars: ✭ 19 (-95.31%)
Mutual labels:  rofi
dotfiles
Config files for i3, polybar, rofi, mpv, Xresources, kitty and some bash-things...
Stars: ✭ 52 (-87.16%)
Mutual labels:  rofi
Snowflake
NixOS Flake Configuration.
Stars: ✭ 22 (-94.57%)
Mutual labels:  rofi
dotfiles
There is no place like ~/
Stars: ✭ 19 (-95.31%)
Mutual labels:  rofi
dotfiles-openbox
Here is my aether dotfiles openbox version
Stars: ✭ 147 (-63.7%)
Mutual labels:  rofi
rofi-mpd
shell script for mpd that uses rofi to add songs, albums, playlist, jump to a song in the current playlist etc.
Stars: ✭ 19 (-95.31%)
Mutual labels:  rofi
dotfiles
collection (and a backup) of my config files
Stars: ✭ 49 (-87.9%)
Mutual labels:  rofi
Rofimoji
An emoji and character picker for rofi 😁
Stars: ✭ 319 (-21.23%)
Mutual labels:  rofi
dotfiles
Gruvbox inspired Arch Linux i3wm rice.
Stars: ✭ 43 (-89.38%)
Mutual labels:  rofi
i3-dotfiles
“ With wisdom comes the desire for simplicity.” Brendon Burchard.
Stars: ✭ 30 (-92.59%)
Mutual labels:  rofi
foolz-dots
Collection of my linux desktop configuration files.
Stars: ✭ 16 (-96.05%)
Mutual labels:  rofi
dotfiles
My Linux settings and configs
Stars: ✭ 33 (-91.85%)
Mutual labels:  rofi
dotfiles
Dotfiles for my awesomewm/i3 Arch setup & neovim
Stars: ✭ 19 (-95.31%)
Mutual labels:  rofi
dotfiles
My (bsp/i3)wm dotfiles.
Stars: ✭ 20 (-95.06%)
Mutual labels:  rofi
rofi-todo
📓 Minimal todo client for the rofi launcher
Stars: ✭ 20 (-95.06%)
Mutual labels:  rofi
dotfiles
cross-platform (linux (arch), macos, android (termux), windows (WSL)) dotfiles and scripts, using yadm
Stars: ✭ 17 (-95.8%)
Mutual labels:  rofi
rofi-collection
Beautiful collection of Rofi themes
Stars: ✭ 236 (-41.73%)
Mutual labels:  rofi
Dmenu Extended
An extension to dmenu for quickly opening files and folders.
Stars: ✭ 334 (-17.53%)
Mutual labels:  rofi
dotfiles
My dotfiles
Stars: ✭ 16 (-96.05%)
Mutual labels:  rofi
InteractiveCodeSearch.jl
Interactively search Julia code from terminal
Stars: ✭ 74 (-81.73%)
Mutual labels:  rofi

Networkmanager-dmenu

NOTE: Python 2.x support ended as of 2019/11/13

Manage NetworkManager connections with dmenu instead of nm-applet

Features

  • Connect to existing NetworkManager wifi or wired connections
  • Connect to new wifi connections. Requests passphrase if required
  • Connect to existing VPN, Wireguard, GSM/WWAN and Bluetooth connections
  • Enable/Disable wifi, WWAN, bluetooth and networking
  • Launch nm-connection-editor GUI
  • Support for multiple wifi adapters
  • Optional Pinentry support for secure passphrase entry
  • Delete existing connections
  • Rescan wifi networks
  • Uses notify-send for notifications if available

License

  • MIT

Requirements

  1. Python 3.2+
  2. NetworkManager
  3. Dmenu. Basic support is included for Rofi_, but most Rofi configuration/theming should be done via Xresources or Rofi themes. The Suckless password patch_ is supported if desired.
  4. Python gobject (PyGObject, python-gobject, etc.)
  5. (Debian/Ubuntu based distros) libnm-util-dev and gir1.2-nm-1.0 (you have to explicitly install the latter on Debian Sid)
  6. (optional) The network-manager-applet package (in order to launch the GUI connection editor, if desired. The nm-applet does not need to be started.)
  7. (optional) Pinentry. Make sure to set which flavor of pinentry command to use in the config file.
  8. (optional) ModemManager for WWAN support.
  9. (optional) notify-send for notifications (connected, disconnected, etc.)

Installation

  • Copy script somewhere in $PATH OR

    • Archlinux: AUR package_ OR
    • Gentoo: Woomy Overlay_
  • Set your dmenu_command in config.ini if it's not 'dmenu' (for example dmenu_run or rofi). The alternate command should still respect the -l, -p and -i flags.

  • To customize dmenu appearance, copy config.ini.example to ~/.config/networkmanager-dmenu/config.ini and edit.

  • If using dmenu for passphrase entry (pinentry not set), dmenu options in the [dmenu_passphrase] section of config.ini will override those in [dmenu] so you can, for example, set the normal foreground and background colors to be the same to obscure the passphrase. The Suckless password patch_ -P option is supported if that patch is installed.

  • Set default terminal (xterm, urxvtc, etc.) command in config.ini if desired.

  • If using Rofi, you can try some of the command line options in config.ini or set them using the dmenu_command setting, but I haven't tested most of them so I'd suggest configuring via .Xresources where possible.

  • Saved connections can be listed if desired. Set list_saved = True under [dmenu] in config.ini. If set to False, saved connections are still accessible under a "Saved connections" sub-menu.

  • If desired, copy the networkmanager_dmenu.desktop to /usr/share/applications or ~/.local/share/applications.

  • If you want to run the script as $USER instead of ROOT, set PolicyKit permissions_. The script is usable for connecting to pre-existing connections without setting these, but you won't be able to enable/disable networking or add new connections.

Usage

  • Run script or bind to keystroke combination
  • If desired, dmenu or Rofi options can be passed on the command line instead of or in addition to the config file. These will override options in the config file.

.. _PolicyKit permissions: https://wiki.archlinux.org/index.php/NetworkManager#Set_up_PolicyKit_permissions .. _AUR Package: https://aur.archlinux.org/packages/networkmanager-dmenu-git/ .. _Woomy Overlay: https://github.com/Woomy4680-exe/Woomy-overlay .. _Rofi: https://davedavenport.github.io/rofi/ .. _Suckless password patch: https://tools.suckless.org/dmenu/patches/password/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].