Organising

This commit is contained in:
2026-03-08 18:24:38 +00:00
parent ca7d4accb9
commit 6240282513
71 changed files with 0 additions and 1099 deletions

View File

@@ -0,0 +1,21 @@
#! /bin/bash
export MASTERPW=$(gum input --header="Master password" --password)
Enpass &
echo "$MASTERPW" | wl-copy
read -n 1 -r -s -p $'Press enter when you have synced enpass...\n'
wl-copy --clear
CHECKPW=$(enpass-cli -vault="$HOME/.local/share/Enpass/Enpass/Vaults/primary" -sort list 2>&1)
while [[ "$CHECKPW" == *level=fatal* ]]; do
export MASTERPW=$(zenity --password)
CHECKPW=$(enpass-cli -vault="$HOME/.local/share/Enpass/Enpass/Vaults/primary" -sort list)
done
echo "Password set successfuly"