wireguard polybar put ids in config
This commit is contained in:
parent
d65f55380e
commit
58d8e8fadd
@ -2,8 +2,11 @@
|
||||
|
||||
set -e
|
||||
|
||||
ID_LIGHT="0f9ed364-1b54-4a95-a45a-a24114f5be6b"
|
||||
ID_FULL="fa9f53b2-29b4-4c0e-80ca-38937ef8cad8"
|
||||
|
||||
SCRIPT=$(readlink -f "$0")
|
||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||
|
||||
source "$SCRIPTPATH/wireguard-config.sh"
|
||||
|
||||
if nmcli connection show --active | grep "$ID_LIGHT" > /dev/null
|
||||
then
|
||||
|
@ -2,8 +2,10 @@
|
||||
|
||||
set -e
|
||||
|
||||
ID_LIGHT="0f9ed364-1b54-4a95-a45a-a24114f5be6b"
|
||||
ID_FULL="fa9f53b2-29b4-4c0e-80ca-38937ef8cad8"
|
||||
SCRIPT=$(readlink -f "$0")
|
||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||
|
||||
source "$SCRIPTPATH/wireguard-config.sh"
|
||||
|
||||
if nmcli connection show --active | grep "$ID_LIGHT" > /dev/null
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user