From c1821ff38f60336b0687b311ed72b3de64292ea5 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Mon, 14 Feb 2022 22:52:30 -0300 Subject: [PATCH] Add vpndisconnect --- dotfiles/.local/bin/vpndisconnect | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 dotfiles/.local/bin/vpndisconnect diff --git a/dotfiles/.local/bin/vpndisconnect b/dotfiles/.local/bin/vpndisconnect new file mode 100755 index 0000000..60a9520 --- /dev/null +++ b/dotfiles/.local/bin/vpndisconnect @@ -0,0 +1,8 @@ +#!/bin/sh + +protonvpn-cli d +#nmcli device down enp3s0 +nmcli networking off +#sleep 1 +#nmcli device up enp3s0 +nmcli networking on