summaryrefslogtreecommitdiff
path: root/home/xyz/.bashrc
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-12-27 23:21:46 -0800
committerxyz <gky44px1999@gmail.com>2021-12-27 23:21:46 -0800
commit101bdee74dd73f9ef5554b084419a2bacbeb5c7e (patch)
tree09c42298e2042f6f97f337cdfbeb2e597807d9f6 /home/xyz/.bashrc
parent7943dfb43fd514ed5f1844864164ca9833bb0b39 (diff)
bashrc, qbt and weechat must use vpn
Diffstat (limited to 'home/xyz/.bashrc')
-rw-r--r--home/xyz/.bashrc3
1 files changed, 3 insertions, 0 deletions
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