From 2c5a050641d5400843facfc65e58a2bef5d87422 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 24 Jan 2024 12:22:09 -0500 Subject: Multithreaded R package compilation --- .local/bin/vpnmenu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/bin/vpnmenu') diff --git a/.local/bin/vpnmenu b/.local/bin/vpnmenu index ff584e0..a42d000 100755 --- a/.local/bin/vpnmenu +++ b/.local/bin/vpnmenu @@ -3,8 +3,8 @@ region="$(piactl get regions | dmenu -p "Select Region: ")" update=$(kill -36 $(pidof dwmblocks)) -[ "$region" == "" ] && notify-send -a " VPN" "Operation aborted" -[ "$region" != "" ] && piactl set region "$region" && \ - $update && notify-send -a " VPN" "Changed region to $region" && \ +[ "$region" == "" ] && notify-send -a " VPN" "Operation aborted" +[ "$region" != "" ] && piactl set region "$region" && + $update && notify-send -a " VPN" "Changed region to $region" && sleep 3 && $update # Comment next line if not using the vpn dwmblock -- cgit v1.2.3