]> git.r.bdr.sh - rbdr/dotfiles/blame - sensitive
Restore window borders
[rbdr/dotfiles] / sensitive
CommitLineData
c9776425
RBR
1#!/usr/bin/env bash
2
3sensitive_files=("config/aerc/accounts.conf")
4
5if [[ "$1" == "update" ]]; then
6 echo "Updating"
7 for sensitive_file in $sensitive_files; do
8 gpg --output $sensitive_file.gpg --encrypt --recipient ruben@unlimited.pizza $sensitive_file
9 done
10else
11 echo "Decrypting"
12 for sensitive_file in $sensitive_files; do
13 gpg --output $sensitive_file --decrypt $sensitive_file.gpg
14 done
15fi