config/personal/pack.sh

16 lines
362 B
Bash
Raw Normal View History

#!/bin/sh
# zip and encrypt configs for git backup
dir="$PWD"
2024-07-23 06:52:22 +00:00
cd ../user/.config/zsh/personal
zip --encrypt ../../../../personal/archives/zsh.zip ./*
2024-07-23 06:52:22 +00:00
cd "${XDG_CONFIG_HOME:-$HOME/.config}/autorandr"
zip --encrypt "$dir/archives/autorandr.zip" ./**/**
2024-07-23 13:42:05 +00:00
cd "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/lua/priv"
zip --encrypt "$dir/archives/nvim.zip" ./*
cd "$dir"