From 593d0d3c6c95c058268ce5d7909701e5c3a18582 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Mon, 14 Feb 2022 22:52:17 -0300 Subject: [PATCH] Update vpnconnect --- dotfiles/.local/bin/vpnconnect | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dotfiles/.local/bin/vpnconnect b/dotfiles/.local/bin/vpnconnect index 0ce0582..5bc2e05 100755 --- a/dotfiles/.local/bin/vpnconnect +++ b/dotfiles/.local/bin/vpnconnect @@ -1,7 +1,9 @@ #!/bin/sh nm-applet 2>&1 > /dev/null & -#stalonetray 2>&1 > /dev/null -#protonvpn -protonvpn-cli c US-FREE#4 +if [ "$1" = "f" ]; then + protonvpn-cli c -f +else + protonvpn-cli c US-FREE#4 +fi killall nm-applet