fish: Add mullvad-init script

Note that long-term we can turn this into a home-manager module to make
things more declarative and automatic.
This commit is contained in:
Donovan Glover 2024-08-16 15:41:56 -04:00
parent 6249d230ab
commit 8a3c22505e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -197,6 +197,15 @@
unar "$argv" && trash "$argv"
end
'';
mullvad-init = # fish
''
mullvad auto-connect set on
mullvad lan set allow
mullvad relay set location us
mullvad lockdown-mode set on
mullvad account login "$argv"
'';
};
};
}