deskenv event scripts

Signed-off-by: Ferit Yiğit BALABAN <fyb@fybx.dev>
This commit is contained in:
yigid balaban 2024-01-15 22:34:45 +03:00
parent 7cb6dc5ff1
commit 964ba649d2
Signed by: fyb
GPG Key ID: E21FEB2C244CB7EB
4 changed files with 10 additions and 3 deletions

View File

@ -3,4 +3,4 @@
# Ferit Yiğit BALABAN <fybalaban@fybx.dev>, 2023
#
playerctl pause
swaylock -efklu -i "mounts/31_shoka/pictures/landscape/024.jpg"
swaylock -efklu -i "$HOME/.config/navi/img_lockscreen"

View File

@ -2,6 +2,6 @@
dt=$(date -Iseconds)
# unison=$($HOME/scripts/unison_sync.sh)
rm "$HOME/.cache/cliphist/db"
python "$HOME/scripts/resync_vault.py"
#python "$HOME/scripts/resync_vault.py"
echo "[$dt] INFO: navi, powering off" >> navi.log
poweroff

View File

@ -1,7 +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"
#python "$HOME/scripts/resync_vault.py"
echo "[$dt] navi restarting..." >> $HOME/navi.log
$HOME/scripts/modeset.py --shutdown
reboot

7
sleep.sh Normal file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
#
#
#
#
playerctl pause
systemctl suspend