Skip to content

A simple manager for network connections using rofi and nmcli

License

Notifications You must be signed in to change notification settings

sineto/nmcli-rofi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Disable/Enable device
  • Connect to existing network
  • Disconnect from active networking
  • Requests password
  • Manual Connections
    • Resquest SSID and Password of the network
  • External source config

Requirements

  • NetworkManager (nmcli)
  • Rofi
  • wireless_tools

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

About

A simple manager for network connections using rofi and nmcli

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages