Compare commits

...

5 Commits

Author SHA1 Message Date
xfnw 3a4e5528e6 also lock respond on lock 2022-02-13 11:00:27 -05:00
xfnw 597df9141c remove unnessesary fork from lock script 2022-02-13 10:54:53 -05:00
xfnw 05e332ac4d move gpg-agent options to correct config file 2022-02-13 10:54:13 -05:00
xfnw da27d892e8 lock gpg and keepassxc agents on screen lock 2022-02-13 10:47:10 -05:00
xfnw 8838e5d4fe increse gpg timeouts 2022-02-13 10:26:28 -05:00
2 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,11 @@ scrot /tmp/lock.png
# imagemagik is fun
convert /tmp/lock.png -paint 1 -blur 8x5 ~/.config/i3/lockfox.png -gravity center -composite -matte /tmp/lock.png
# lock agents
command -v ratbox-respond && killall -1 ratbox-respond
command -v keepassxc && keepassxc --lock
command -v gpgconf && gpgconf --reload gpg-agent
# hmm i3lock
i3lock -e -f -c 000000 -i /tmp/lock.png

2
.gnupg/gpg-agent.conf Normal file
View File

@ -0,0 +1,2 @@
default-cache-ttl 7200
max-cache-ttl 259200