mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
Lock KeePass when screen will be locked.
This commit is contained in:
parent
52a7533436
commit
670c77b06a
|
@ -1,5 +1,14 @@
|
||||||
|
#
|
||||||
|
# {{@@ env['dotdrop_warning'] @@}}
|
||||||
|
#
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Set lock screen background
|
||||||
lockscreen="$HOME/.config/bspwm/lock.png"
|
lockscreen="$HOME/.config/bspwm/lock.png"
|
||||||
|
|
||||||
|
# Lock all KeePass databases
|
||||||
|
keepass --lock-all
|
||||||
|
|
||||||
|
# Lock the screen
|
||||||
i3lock -u -i $lockscreen
|
i3lock -u -i $lockscreen
|
||||||
|
|
Loading…
Reference in a new issue