From 7885d4537e88df2bb2467487d5c7260b708a1d9c Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Tue, 8 Apr 2025 14:35:06 -0500 Subject: [PATCH] / wip - lordOfTheRing.sh --- dots/bin/lordOfTheRing.sh | 6 ++++++ dots/bin/startup.sh | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dots/bin/lordOfTheRing.sh b/dots/bin/lordOfTheRing.sh index c48c156..fc717a1 100755 --- a/dots/bin/lordOfTheRing.sh +++ b/dots/bin/lordOfTheRing.sh @@ -51,6 +51,8 @@ tf_secret_nextcloud_app="/tmp/sna.lotr" tf_secret_nextcloud_base="/tmp/snb.lotr" tf_secret_proton_account_singular="/tmp/sps.lotr" tf_secret_proton_accounts_multiple="/tmp/spm.lotr" +tf_log_population_nextcloud="/tmp/lotr_nextcloud_populated.lotr" +tf_log_population_proton="/tmp/lotr_nextcloud_populated.lotr" # https://gist.github.com/melbahja/33fac6f3f823632e880401f5f7451cfb cat ${keyring_file} | while read line || [[ -n ${line} ]]; @@ -119,6 +121,8 @@ then # >>> set value 2 | frode:https://nx.op.fo/:0 pwd_user_frode=$(cat ${tf_secret_nextcloud_base}); echo -n "${pwd_user_frode}" | secret-tool store --label="Nextcloud" server Nextcloud user frode:https://nx.op.fo/:0 type plaintext + + echo "OK" > ${tf_log_population_nextcloud}; fi # -------------------- @@ -141,4 +145,6 @@ then # >>> set value 2 | proton-sso-accounts pwd_proton_2=$(cat ${tf_secret_proton_accounts_multiple}); echo -n "${pwd_proton_2}" | secret-tool store --label="Password for 'proton-sso-accounts' on 'Proton'" application "Python keyring library" service Proton username proton-sso-accounts + + echo "OK" > ${tf_log_population_proton}; fi diff --git a/dots/bin/startup.sh b/dots/bin/startup.sh index 14e6deb..69b970e 100755 --- a/dots/bin/startup.sh +++ b/dots/bin/startup.sh @@ -44,7 +44,6 @@ elif [[ "${XWM}" == "i3" ]]; then ${display_setup} # populate keyring, and sleep to make sure it takes effect before apps start - #/home/poq/syncDir/secrets/keyring/add_keyring_secrets.sh lordOfTheRing.sh sleep 3.5