This repository is an alternative for people who want to avoid building and running the Electron-App and instead want to rely on the systemd-daemon and the cli. Oriented on mullvad-vpn in the AUR..
gpg2 --keyserver pool.sks-keyservers.net --recv-keys EA0A77BF9E115615FC3BD8BC7653B940E494FE87
gpg2 --edit-key EA0A77BF9E115615FC3BD8BC7653B940E494FE87
gpg2 --keyserver pool.sks-keyservers.net --recv-keys 8339C7D2942EB854E3F27CE5AEE9DECFD582E984
gpg2 --edit-key 8339C7D2942EB854E3F27CE5AEE9DECFD582E984
for each key do:- in gpg console enter
trust
- in gpg console enter
5
- in gpg console enter
quit
makepkg --cleanbuild --clean --force
pacman -U mullvad-vpn-....pkg.tar.xz
https://mullvad.net/en/help/how-use-mullvad-cli/
You need to put your account number and where you want to connect to into the /etc/mullvad-vpn/settings.json.
For Xfce I am using a Generic Monitor with a check on a simple script every few seconds. It only checks the daemon-status and returns a string.
mullvad status 2> /dev/null | head -n 1 | awk '{ print $3 }'