No longer use notify-send
This commit is contained in:
parent
81965d8895
commit
366507ce4b
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
# Nofication function
|
# Nofication function
|
||||||
notify() {
|
notify() {
|
||||||
notify-send -i deja-dup "$1"
|
|
||||||
test -z "$RESTIC_QUIET" && echo "I: $1"
|
test -z "$RESTIC_QUIET" && echo "I: $1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,10 +15,8 @@ if [ "$1" = "--verbose" ]; then
|
||||||
RESTIC_QUIET=""
|
RESTIC_QUIET=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Allow for connecting to X11 and the SSH agent
|
# Allow for connecting to the SSH agent
|
||||||
export DISPLAY=:0
|
|
||||||
export SSH_AUTH_SOCK=/run/user/$UID/keyring/ssh
|
export SSH_AUTH_SOCK=/run/user/$UID/keyring/ssh
|
||||||
export SSH_AGENT_PID=$(pidof ssh-agent)
|
|
||||||
|
|
||||||
# Restic settings
|
# Restic settings
|
||||||
RESTIC_BACKUP_OPTIONS="--exclude-file=$HOME/.config/restic/exclude --cleanup-cache"
|
RESTIC_BACKUP_OPTIONS="--exclude-file=$HOME/.config/restic/exclude --cleanup-cache"
|
||||||
|
|
Loading…
Reference in New Issue