added autorandr archive

This commit is contained in:
Jakub B 2024-07-23 02:52:22 -04:00 committed by Jakub
parent f809e8d005
commit aec23e0e0a
4 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
user/.config/zsh/personal/* user/.config/zsh/personal/*
user/.config/autorandr/*

Binary file not shown.

View File

@ -2,6 +2,11 @@
# zip and encrypt configs for git backup # zip and encrypt configs for git backup
dir="$PWD" dir="$PWD"
cd ../user/.config/zsh/personal cd ../user/.config/zsh/personal
zip --encrypt ../../../../personal/archives/zsh.zip ./* zip --encrypt ../../../../personal/archives/zsh.zip ./*
cd "${XDG_CONFIG_HOME:-$HOME/.config}/autorandr"
zip --encrypt "$dir/archives/autorandr.zip" ./**/**
cd "$dir" cd "$dir"

View File

@ -3,3 +3,4 @@
unzip ./archives/zsh.zip -d ../user/.config/zsh/personal unzip ./archives/zsh.zip -d ../user/.config/zsh/personal
unzip ./archives/autorandr.zip -d ../user/.config/autorandr