summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-vpn
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-25 00:16:30 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-25 00:16:30 -0500
commitadcb6518d48ab41b26aeba77b3d0147d24dc287d (patch)
tree0ad7b3c40e7145360d3443c2238c89f31c431419 /.local/bin/dwmbar/dwmb-vpn
parent2a4848c8fdf131e92a4d66eff4f9d0f4f4081eaf (diff)
Remove BLOCK_BUTTONS from dwmblocks
Diffstat (limited to '.local/bin/dwmbar/dwmb-vpn')
-rwxr-xr-x.local/bin/dwmbar/dwmb-vpn24
1 files changed, 0 insertions, 24 deletions
diff --git a/.local/bin/dwmbar/dwmb-vpn b/.local/bin/dwmbar/dwmb-vpn
index 4ce86f9..d049f60 100755
--- a/.local/bin/dwmbar/dwmb-vpn
+++ b/.local/bin/dwmbar/dwmb-vpn
@@ -13,28 +13,4 @@ DisconnectingToReconnect) icon="  " ;;
Disconnecting) icon="  " ;;
esac
-# case "$vpnstatus" in
-# *"Not"*) icon=""
-# ;;
-# *"Connected"*) icon=""
-# ;;
-# *"Connecting"*) icon=" "
-# ;;
-# *) icon=""
-# esac
-
echo " $icon"
-
-# \033]01;31\] # pink
-# \033]00m\] # white
-# \033]01;36\] # bold green
-# \033]02;36\] # green
-# \033]01;34\] # blue
-# \033]01;33\] # bold yellow
-# s/onnected\sto\s//;
-case $BLOCK_BUTTON in
-1) piactl connect && notify-send -a "VPN" "Connected" && kill -36 "$(pidof dwmblocks)" ;;
-2) vpnmenu ;;
-3) piactl disconnect && notify-send -a "VPN" "Disonnected" && kill -36 "$(pidof dwmblocks)" ;;
-6) "$TERMINAL" -e "$EDITOR" "$0" ;;
-esac