Refactoring install
This commit is contained in:
22
.local/bin/station-setup-vpn
Executable file
22
.local/bin/station-setup-vpn
Executable file
@@ -0,0 +1,22 @@
|
||||
#! /bin/bash
|
||||
|
||||
echo "Signing into ExpressVPN..."
|
||||
|
||||
read -r username password <<< "$(station-get-username-password "ExpressVPN")"
|
||||
|
||||
station-launch-browser "https://www.expressvpn.com/sign-in"
|
||||
|
||||
echo -n "$username" | wl-copy
|
||||
|
||||
station-confirm-or-close "ExpressVPN Setup" "Email copied.\nPress OK for password" || exit
|
||||
|
||||
echo -n "$password" | wl-copy
|
||||
|
||||
expressvpn activate
|
||||
|
||||
expressvpn autoconnect true
|
||||
|
||||
expressvpn connect smart
|
||||
|
||||
wl-copy --clear
|
||||
|
||||
Reference in New Issue
Block a user