]> Freerunner's - dotfiles.git/commitdiff
aerc: currently annoyed
authorAndre Ramnitz <tux.rising@gmail.com>
Sat, 17 Aug 2024 22:42:24 +0000 (00:42 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Mon, 26 Aug 2024 13:52:01 +0000 (15:52 +0200)
accounts.conf [deleted symlink]
config/aerc/accounts.conf [new symlink]
config/aerc/scripts/wait-for-creds.sh

diff --git a/accounts.conf b/accounts.conf
deleted file mode 120000 (symlink)
index 67ba86a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/media/source/hiddenconfigs/accounts.conf
\ No newline at end of file
diff --git a/config/aerc/accounts.conf b/config/aerc/accounts.conf
new file mode 120000 (symlink)
index 0000000..67ba86a
--- /dev/null
@@ -0,0 +1 @@
+/media/source/hiddenconfigs/accounts.conf
\ No newline at end of file
index 9221635446f5fe22c74a7ab68e48e76e3333579b..fcb00ecf414f8e067f07852d5eda811b6ea5beb9 100755 (executable)
@@ -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