mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Added icons to wireguard script
This commit is contained in:
parent
a58bf40729
commit
d41dcb8067
@ -9,10 +9,10 @@ STATUS="$(nmcli device status | grep -c wg0)"
|
|||||||
case $STATUS in
|
case $STATUS in
|
||||||
1)
|
1)
|
||||||
sudo wg-quick down wg0
|
sudo wg-quick down wg0
|
||||||
notify-send 'Wireguard Down'
|
notify-send.py -a wireguard -i network-vpn-offline-symbolic Wireguard "Connection down"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
sudo wg-quick up wg0
|
sudo wg-quick up wg0
|
||||||
notify-send 'Wireguard Up'
|
notify-send.py -a wireguard -i network-vpn-symbolic Wireguard "Connection up"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
Loading…
Reference in New Issue
Block a user