Improve yadm encrypt stuff
This commit is contained in:
parent
065953fdc7
commit
7cbbb5d696
3 changed files with 6 additions and 1 deletions
1
.bin/.e
1
.bin/.e
|
@ -57,6 +57,7 @@ declare -A hooks=(
|
|||
["sway.d"]="sway reload"
|
||||
["waybar"]="killall -SIGUSR2 waybar"
|
||||
["yadm"]="yadm alt"
|
||||
["yadm-encrypt"]="yadm alt"
|
||||
)
|
||||
|
||||
if [ -z "$1" ]
|
||||
|
|
|
@ -71,7 +71,7 @@ export VIMINIT="if has('nvim') | source $XDG_CONFIG_HOME/nvim/init.lua | else |
|
|||
|
||||
export XDG_DATA_DIRS="$XDG_CONFIG_HOME/xdg-data:$XDG_DATA_DIRS"
|
||||
|
||||
export YADM_OVERRIDE_ARCHIVE="$HOME/.password-store/yadm.gpg"
|
||||
export YADM_OVERRIDE_ARCHIVE="$PASSWORD_STORE_DIR/yadm.gpg"
|
||||
|
||||
|
||||
for additional_env in "$XDG_CONFIG_HOME/env.d/"*; do
|
||||
|
|
4
.config/yadm/hooks/post_encrypt
Executable file
4
.config/yadm/hooks/post_encrypt
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
pass git add yadm.gpg
|
||||
pass git ci -am 'Update yadm archive'
|
Loading…
Reference in a new issue