Fix OpenVPN autoconnect.
This commit is contained in:
parent
4076f44c1e
commit
3d2385fd1b
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
protonvpn refresh
|
# Replace doas with sudo below if you don't have doas.
|
||||||
env SUDO_USER=$USER doas protonvpn c -f
|
doas openvpn --config /etc/openvpn/client/dk.protonvpn.com.udp.ovpn --auth-user-pass /root/ovpn_creds.txt &
|
||||||
# Uncomment below to use sudo instead of doas, comment the above line
|
sleep 5 # Wait for Waybar to fully load
|
||||||
#sudo protonvpn c -f
|
sway-launcher-desktop autostart &
|
||||||
sway-launcher-desktop autostart
|
disown
|
||||||
|
disown
|
||||||
|
|
Loading…
Reference in a new issue