summaryrefslogtreecommitdiff
path: root/.config/i3/i3lock_script.sh
blob: 5720b9d3870d4ae5bfe48aaabd089726782dbd05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#
# | '__/ _ \ / _` / __|    Roger González
# | | | (_) | (_| \__ \    https://rogs.me
# |_|  \___/ \__, |___/    https://git.rogs.me
#            |___/
#
keepassxc --lock
#if pidof openvpn; then
    #notify-send "Shutting down VPN"
    #pritunl-client stop r1e5vfvldadchscs
#fi
scrot /tmp/screen.png
xwobf -s 11 /tmp/screen.png
i3lock -i /tmp/screen.png
#i3lock -c 000000
rm /tmp/screen.png