summaryrefslogtreecommitdiff
path: root/.local/bin/vpnmenu
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-24 12:22:09 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-24 12:22:09 -0500
commit2c5a050641d5400843facfc65e58a2bef5d87422 (patch)
treeb9b0f04c256509dc773197c90605f763d51c3400 /.local/bin/vpnmenu
parent61e7324e6692b155b6dd1d450ff431582c1fc57b (diff)
Multithreaded R package compilation
Diffstat (limited to '.local/bin/vpnmenu')
-rwxr-xr-x.local/bin/vpnmenu6
1 files changed, 3 insertions, 3 deletions
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