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:
parent
0255b374dd
commit
8b00ac90eb
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
dt=$(date -Iseconds)
|
dt=$(date -Iseconds)
|
||||||
unison=$($HOME/scripts/unison_sync.sh)
|
# unison=$($HOME/scripts/unison_sync.sh)
|
||||||
rm "$HOME/.cache/cliphist/db"
|
rm "$HOME/.cache/cliphist/db"
|
||||||
|
python "$HOME/scripts/resync_vault.py"
|
||||||
echo "[$dt] INFO: navi, powering off" >> navi.log
|
echo "[$dt] INFO: navi, powering off" >> navi.log
|
||||||
poweroff
|
poweroff
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
dt=$(date +'%d/%m/%y-%H.%M.%S')
|
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
|
echo "[$dt] navi restarting..." >> $HOME/navi.log
|
||||||
$HOME/scripts/modeset.py --shutdown
|
$HOME/scripts/modeset.py --shutdown
|
||||||
reboot
|
reboot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user