No longer use notify-send
This commit is contained in:
parent
81965d8895
commit
366507ce4b
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue