summaryrefslogtreecommitdiff
path: root/.config/i3/i3lock_script.sh
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2022-08-09 11:18:14 -0300
committerRoger Gonzalez <roger@rogs.me>2022-08-09 11:18:14 -0300
commit11110f25c9a214e15566e04af6ff989a96fdd53f (patch)
tree032d2eb59725ab677e3079d68d4212e599181e23 /.config/i3/i3lock_script.sh
parent89cf3bc2d5d56fa1afc10bf7a534e99c85fdd6e1 (diff)
General fixes, mostly on the linux side
Diffstat (limited to '.config/i3/i3lock_script.sh')
-rwxr-xr-x.config/i3/i3lock_script.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/i3/i3lock_script.sh b/.config/i3/i3lock_script.sh
index 4af57b56..c81fe68f 100755
--- a/.config/i3/i3lock_script.sh
+++ b/.config/i3/i3lock_script.sh
@@ -5,6 +5,11 @@
# |_| \___/ \__, |___/ https://git.rogs.me
# |___/
#
+keepassxc --lock
+if pidof openvpn; then
+ notify-send "Shutting down VPN"
+ pkexec --user root killall openvpn
+fi
scrot /tmp/screen.png
xwobf -s 11 /tmp/screen.png
i3lock -i /tmp/screen.png