/ wip - lordOfTheRing.sh
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user