Changes
This commit is contained in:
parent
6fb403a091
commit
0ddb5f420b
@ -134,16 +134,16 @@
|
|||||||
# xev might be helpful to find names for keys
|
# xev might be helpful to find names for keys
|
||||||
|
|
||||||
# close notification
|
# close notification
|
||||||
close = mod4+m
|
#close = mod4+m
|
||||||
|
|
||||||
# close all notifications
|
# close all notifications
|
||||||
close_all = mod4+shift+m
|
#close_all = mod4+shift+m
|
||||||
|
|
||||||
# redisplay last message(s)
|
# redisplay last message(s)
|
||||||
history = mod4+n
|
#history = mod4+n
|
||||||
|
|
||||||
# context menu
|
# context menu
|
||||||
context = mod4+shift+i
|
#context = mod4+shift+i
|
||||||
|
|
||||||
[urgency_low]
|
[urgency_low]
|
||||||
# IMPORTANT: colors have to be defined in quotation marks.
|
# IMPORTANT: colors have to be defined in quotation marks.
|
||||||
|
@ -19,7 +19,12 @@ b-create() {
|
|||||||
if command -v sudo > /dev/null; then
|
if command -v sudo > /dev/null; then
|
||||||
SUDO="$(command -v sudo)"
|
SUDO="$(command -v sudo)"
|
||||||
fi
|
fi
|
||||||
"$SUDO" "/home/stonewareslord/syncthing/me/backup/$(hostname)/backup"
|
local IGNORE_FILE="/tmp/$(uuidgen)"
|
||||||
|
cat /home/stonewareslord/syncthing/me/backup{,/"$(hostname)"}/nobackup > "$IGNORE_FILE"
|
||||||
|
if [[ -f "/home/stonewareslord/syncthing/me/backup/$(hostname)/mount" ]]; then
|
||||||
|
"$SUDO" "/home/stonewareslord/syncthing/me/backup/$(hostname)/mount"
|
||||||
|
fi
|
||||||
|
"$SUDO" borg create -vpsx --exclude-caches --compression lzma,7 --exclude-from "$IGNORE_FILE" $BORG_REPO::$(hostname)-$(uuidgen) / /boot
|
||||||
}
|
}
|
||||||
b-rename() {
|
b-rename() {
|
||||||
borg rename -v "$BORG_REPO::$1" "$2"
|
borg rename -v "$BORG_REPO::$1" "$2"
|
||||||
|
Loading…
Reference in New Issue
Block a user