From 101bdee74dd73f9ef5554b084419a2bacbeb5c7e Mon Sep 17 00:00:00 2001 From: xyz Date: Mon, 27 Dec 2021 23:21:46 -0800 Subject: bashrc, qbt and weechat must use vpn --- home/xyz/.bashrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'home/xyz/.bashrc') diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index 2733031e..06710a55 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -34,6 +34,9 @@ PS1="\[$(tput setaf 1)\][\u@\h \W]\$ \[$(tput sgr0)\]" for cmd in iotop nethogs hardcode-fixer ventoy du units_cur fbgrab; do alias $cmd="sudo $cmd" done +for cmd in qbittorrent weechat; do + alias $cmd="mullvad connect -w; kill -RTMIN+4 $(cat "$XDG_CACHE_HOME/pidofbar"); $cmd" +done unset cmd # same name -- cgit v1.2.3-70-g09d2