From 11110f25c9a214e15566e04af6ff989a96fdd53f Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Tue, 9 Aug 2022 11:18:14 -0300 Subject: General fixes, mostly on the linux side --- .config/i3/i3lock_script.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.config/i3/i3lock_script.sh') 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 -- cgit v1.2.3