Shell script that checks Mullvad connection status and how many days the account has left, and warns the user when the account will expire within a week. Intended for use with Polybar.
Download the script and make sure it's executable (chmod +x mullvad_vpn_status.sh
). You'll also need Font Awesome if you want icons. Then add something like this to your user_modules.ini
:
[module/vpn]
type = custom/script
exec = ~/mullvad-vpn-status/mullvad_vpn_status.sh
interval = 60
format = "<label>"