From 89cf18b0ca91376d11b253030f9562d0e0a23149 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Mon, 22 May 2017 13:01:36 +0200 Subject: [PATCH] Added baisc vpn support zsh/hl --- herbstluftwm/autostart | 4 +++- zshrc | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 2212b06..c5a81a3 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -38,6 +38,8 @@ if [[ "$HOST" == "atlantislaptop" ]]; then xautolock -time 15 -locker /home/ik15ydit/.config/i3lock/piclock.sh & /usr/bin/dunst & hc keybind $Mod-o spawn /bin/bash -c "systemctl hibernate" + hc keybind $Mod-c spawn /bin/bash -c "sudo /usr/bin/openvpn_cip.sh" + hc keybind $Mod-Shift-c spawn /bin/bash -c "sudo stopvpn.sh" fi @@ -166,7 +168,7 @@ hc mousebind $Mod-Button3 resize hc keybind $Mod-BackSpace cycle_monitor hc keybind $Mod-Tab cycle_all +1 hc keybind $Mod-Shift-Tab cycle_all -1 -hc keybind $Mod-c cycle +#hc keybind $Mod-c cycle #hc keybind $Mod-i jumpto urgent #pulseaudio diff --git a/zshrc b/zshrc index 4cec87e..59ed5f7 100644 --- a/zshrc +++ b/zshrc @@ -111,6 +111,7 @@ if [[ $HOST =~ atlantis* ]]; then alias telegram-plain='ssh uni -t "/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli --disable-colors --disable-readline -k tg-server.pub"' alias x='exec startx' + alias vpn='sudo /usr/bin/openvpn_cip.sh' else alias telegram='/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli -k tg-server.pub' alias burp=/home/cip/2013/ik15ydit/ciptmp/reps/WebScan/burpsuite/BurpSuiteFree