sineto / nmcli-rofi

A simple manager for network connections using rofi and nmcli
MIT License
62 stars 16 forks source link
i3 i3wm nmcli polybar rofi wifimanager

nmcli-rofi

A simple manager for network connections using rofi and nmcli. Strongly inspired/based on rofi-wifi-menu. Most of the code (I would say all code) was copied from the original creator. I've only refactored the code to improve performance and easily add new features.

Features

Requirements

Usage

To use with click event on polybar

[module/network]
type = internal/network
...
format-connected = %{A1:$HOME/.config/polybar/scripts/nmcli-rofi:}<ramp-signal>%{A}
format-disconnected = %{A1:$HOME/.config/polybar/scripts/nmcli-rofi:}icon-or-label%{A}
...

To use with i3wm keybinding

bindsym $mod+n exec /path/to/nmcli-rofi

Replace modifier if you need