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 2023-11-10 21:04:28 +03:00
parent 0255b374dd
commit 8b00ac90eb
Signed by: fyb
GPG Key ID: E21FEB2C244CB7EB
2 changed files with 4 additions and 1 deletions

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

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