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:
1 parent
0255b374dd
commit
8b00ac90eb
2 files changed
+4
-1
No files matched your search
+2
-1
@@ -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
|
||||||
Reference in new issue
Block a user