Remove unison sync and add resync_vault.py to

poweroff and reboot scripts

Signed-off-by: Ferit Yiğit BALABAN <fybalaban@fybx.dev>
This commit is contained in:
Ferit Yiğit BALABAN committed 2023-11-10 21:04:28 +03:00 Verified
1 parent 0255b374dd
commit 8b00ac90eb
2 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
#!/bin/bash
dt=$(date -Iseconds)
unison=$($HOME/scripts/unison_sync.sh)
# unison=$($HOME/scripts/unison_sync.sh)
rm "$HOME/.cache/cliphist/db"
python "$HOME/scripts/resync_vault.py"
echo "[$dt] INFO: navi, powering off" >> navi.log
poweroff
+2
View File
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
dt=$(date +'%d/%m/%y-%H.%M.%S')
rm "$HOME/.cache/cliphist/db"
python "$HOME/scripts/resync_vault.py"
echo "[$dt] navi restarting..." >> $HOME/navi.log
$HOME/scripts/modeset.py --shutdown
reboot