Skip to content

Latest commit

 

History

History

vpn-wireguard-wg

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Script: vpn-wireguard-wg

A script that shows the status of a chosen Wireguard connection.

vpn-wireguard-wg vpn-wireguard-wg

Configuration

You have to add the wg and wg-quick command to the /etc/sudoers NOPASSWD of your user:

user ALL=(ALL) NOPASSWD: /usr/bin/wg
user ALL=(ALL) NOPASSWD: /usr/bin/wg-quick

Module

[module/vpn-wireguard-wg]
type = custom/script
exec = ~/polybar-scripts/vpn-wireguard-wg.sh
interval = 5
click-left = ~/polybar-scripts//vpn-wireguard-wg.sh --toggle &