This repository offers a script, which reads your VPN status from Mullvad API and presents them on Xfce panel using xfce4-genmon-plugin.
When you are connected to Mullvad VPN:
And when you are disconnected:
Copy the script to your PATH, for example to ~/.local/bin
:
mkdir -p ~/.local/bin
cp mullvad-status ~/.local/bin/
Add new xfce4-genmon-plugin
to your panel and configure it to run the following command:
.local/bin/mullvad-status