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,8 +103,11 @@ _autostart_run_xorg () {
if ! pgrep -x keepassxc if ! pgrep -x keepassxc
then then
pass x pass x
if [ $? -eq 0 ]
then
(pass keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) & (pass keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) &
fi fi
fi
autoinstall graphical autoinstall graphical
autostart-manage run autostart-manage run