Fix keepassxc starting without pass working

This commit is contained in:
Tobias Reisinger 2023-05-21 15:50:22 +02:00
parent 35d4ddae4e
commit c5ad640c8a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -103,7 +103,10 @@ _autostart_run_xorg () {
if ! pgrep -x keepassxc
then
pass x
(pass keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) &
if [ $? -eq 0 ]
then
(pass keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) &
fi
fi
autoinstall graphical