From ac217d942a226ad9c31d11e881212387b2218e84 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Sun, 18 Aug 2024 00:42:24 +0200 Subject: [PATCH] aerc: currently annoyed --- accounts.conf => config/aerc/accounts.conf | 0 config/aerc/scripts/wait-for-creds.sh | 36 ++++++++++++++-------- 2 files changed, 23 insertions(+), 13 deletions(-) rename accounts.conf => config/aerc/accounts.conf (100%) diff --git a/accounts.conf b/config/aerc/accounts.conf similarity index 100% rename from accounts.conf rename to config/aerc/accounts.conf diff --git a/config/aerc/scripts/wait-for-creds.sh b/config/aerc/scripts/wait-for-creds.sh index 92216354..fcb00ecf 100755 --- a/config/aerc/scripts/wait-for-creds.sh +++ b/config/aerc/scripts/wait-for-creds.sh @@ -1,16 +1,26 @@ #!/bin/sh -if [ "$(pgrep kwin)" ]; then +# everything but kwallet currently broken +# enabling the store in keepassxc breaks +# kwallet. not having kwallet under plasma6 +# sucks ass. since hyprland is not my main +# desktop, keep keepassxc store backend off +# and simply run kwallet under hyprland. + +# could be worked around with keepassxc-cli BUT +# I'm not keen on exposing too much data online + +# if [ "$(pgrep kwin)" ]; then kwallet-query -r "$2" kdewallet -else - # if [ ! "$(pidof keepassxc)" ]; then - # echo "KeepassXC not running"; - # exit 1 - # fi - secret-tool lookup "$1" "$2" - # wait until the password is available - while [ $? != 0 ]; do - secret-tool lookup "$1" "$2" - sleep 5 - done -fi +# else +# # if [ ! "$(pidof keepassxc)" ]; then +# # echo "KeepassXC not running"; +# # exit 1 +# # fi +# secret-tool lookup "$1" "$2" +# # wait until the password is available +# while [ $? != 0 ]; do +# secret-tool lookup "$1" "$2" +# sleep 5 +# done +# fi -- 2.51.2