No longer use notify-send

This commit is contained in:
Paul van Tilburg 2020-07-21 15:36:20 +02:00
parent 81965d8895
commit 366507ce4b
Signed by: paul
GPG Key ID: C6DE073EDA9EEC4D
1 changed files with 1 additions and 4 deletions

View File

@ -6,7 +6,6 @@
# Nofication function
notify() {
notify-send -i deja-dup "$1"
test -z "$RESTIC_QUIET" && echo "I: $1"
}
@ -16,10 +15,8 @@ if [ "$1" = "--verbose" ]; then
RESTIC_QUIET=""
fi
# Allow for connecting to X11 and the SSH agent
export DISPLAY=:0
# Allow for connecting to the SSH agent
export SSH_AUTH_SOCK=/run/user/$UID/keyring/ssh
export SSH_AGENT_PID=$(pidof ssh-agent)
# Restic settings
RESTIC_BACKUP_OPTIONS="--exclude-file=$HOME/.config/restic/exclude --cleanup-cache"