From 670c77b06a4eeb5e4b8aa2d716ccb6532be7c6dc Mon Sep 17 00:00:00 2001 From: Philip Henning Date: Tue, 2 Jan 2018 18:05:44 +0100 Subject: [PATCH] Lock KeePass when screen will be locked. --- dotfiles/config/bspwm/lock.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dotfiles/config/bspwm/lock.sh b/dotfiles/config/bspwm/lock.sh index 235184a..615391f 100755 --- a/dotfiles/config/bspwm/lock.sh +++ b/dotfiles/config/bspwm/lock.sh @@ -1,5 +1,14 @@ +# +# {{@@ env['dotdrop_warning'] @@}} +# + #!/bin/bash - + +# Set lock screen background lockscreen="$HOME/.config/bspwm/lock.png" +# Lock all KeePass databases +keepass --lock-all + +# Lock the screen i3lock -u -i $lockscreen