Remove secret archive (move to passwordstore)
This commit is contained in:
parent
26aff394c0
commit
496a6e761b
3 changed files with 5 additions and 1 deletions
|
@ -48,6 +48,8 @@ export TIME_STYLE="long-iso"
|
||||||
|
|
||||||
export VIMINIT="if has('nvim') | source $XDG_CONFIG_HOME/nvim/init.lua | else | source $XDG_CONFIG_HOME/vim/vimrc | endif"
|
export VIMINIT="if has('nvim') | source $XDG_CONFIG_HOME/nvim/init.lua | else | source $XDG_CONFIG_HOME/vim/vimrc | endif"
|
||||||
|
|
||||||
|
export YADM_OVERRIDE_ARCHIVE="$HOME/.password-store/yadm.gpg"
|
||||||
|
|
||||||
|
|
||||||
for additional_env in "$XDG_CONFIG_HOME/env.d/"*; do
|
for additional_env in "$XDG_CONFIG_HOME/env.d/"*; do
|
||||||
# check for ## in name to ignore yadm files
|
# check for ## in name to ignore yadm files
|
||||||
|
|
|
@ -2,9 +2,11 @@
|
||||||
|
|
||||||
# Check encrypted files for newer versions
|
# Check encrypted files for newer versions
|
||||||
files="$HOME/.config/yadm/encrypt"
|
files="$HOME/.config/yadm/encrypt"
|
||||||
archive="$HOME/.local/share/yadm/archive"
|
archive="$HOME/.password-store/yadm.gpg"
|
||||||
new_files=false
|
new_files=false
|
||||||
|
|
||||||
|
[ -f "$archive" ] || exit 0
|
||||||
|
|
||||||
echo "Checking for newer versions of encrypted files..."
|
echo "Checking for newer versions of encrypted files..."
|
||||||
while IFS= read -r file
|
while IFS= read -r file
|
||||||
do
|
do
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue