Prompt if they have a keyring

This commit is contained in:
Ryan Hughes
2025-10-13 01:00:27 -04:00
parent 6c2c85d2b9
commit 10e8fe581b

View File

@@ -1,3 +1,9 @@
echo "Add a default keyring for gnome-keyring that unlocks on login"
if [ -f "$HOME/.local/share/keyrings/Default_keyring.keyring" ] || [ -f "$HOME/.local/share/keyrings/default" ]; then
if gum confirm "Do you want to replace existing keyring with one that's auto-unlocked on login?"; then
bash "$OMARCHY_PATH/install/login/default-keyring.sh"
fi
else
bash "$OMARCHY_PATH/install/login/default-keyring.sh"
fi