Skip to content

POSIX Shell script for toggling VPN connections using Rofi, dmenu or similar tool

Notifications You must be signed in to change notification settings

un-def/vpn-menu.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vpn-menu.sh

POSIX Shell script for toggling VPN connections using Rofi, dmenu or similar tool

Dependencies

  • nmcli
  • awk
  • sed
  • sort
  • cut
  • wc
  • xargs

Usage

See vpn-menu.sh -h for available options.

Examples

  • use as Rofi modi:

    rofi -show vpn -modi vpn:'vpn-menu.sh --rofi'
    
  • use with dmenu, default settings (dmenu -i -p VPN):

    vpn-menu.sh --dmenu
    
  • use with dmenu, custom dmenu path/settings:

    vpn-menu.sh --dmenu /path/to/dmenu -b -nf green
    

About

POSIX Shell script for toggling VPN connections using Rofi, dmenu or similar tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages