diff options
author | Roger Gonzalez <roger@rogs.me> | 2022-08-09 11:18:14 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2022-08-09 11:18:14 -0300 |
commit | 11110f25c9a214e15566e04af6ff989a96fdd53f (patch) | |
tree | 032d2eb59725ab677e3079d68d4212e599181e23 /.config/i3/i3lock_script.sh | |
parent | 89cf3bc2d5d56fa1afc10bf7a534e99c85fdd6e1 (diff) |
General fixes, mostly on the linux side
Diffstat (limited to '.config/i3/i3lock_script.sh')
-rwxr-xr-x | .config/i3/i3lock_script.sh | 5 |
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 |