dotfiles/sway/.config/sway/autostart.sh

8 lines
192 B
Bash
Executable File

#!/bin/sh
protonvpn refresh
env SUDO_USER=$USER doas protonvpn c -f
# Uncomment below to use sudo instead of doas, comment the above line
#sudo protonvpn c -f
sway-launcher-desktop autostart