From c5ad640c8acd4a4572fa862f064c3192bade0dec Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Sun, 21 May 2023 15:50:22 +0200 Subject: [PATCH] Fix keepassxc starting without pass working --- .bin/autostart-manage | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.bin/autostart-manage b/.bin/autostart-manage index 7513c33..be850ea 100755 --- a/.bin/autostart-manage +++ b/.bin/autostart-manage @@ -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