Files
iceyrazor 5c4872f306 Squashed commit of the following:
- auto game restart after killing game thread
    - detect_leaks 0 for dap
    - excludes to backup
    - fixed typo "suff"
    - another one
    - added new mime
    - added serv sync script
    - unset qt theme for mumble
    - switched to printf on kaomoji-picker
    - moved stuff from wayland to hyprland
    - keybind to kill GameThread
2025-12-12 22:57:51 -06:00

31 lines
1.0 KiB
Plaintext
Executable File

cd ~/
fsynca () {
# t?
rsync -RUuavn $exclude $syncfile "$target"
}
fsyncb () {
printf "===confirm changes?\n"
read -p "y/n: " uinput
if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then
printf "\n\n\n"
rsync -RUuav --progress $exclude $syncfile "$target"
printf "\n===end sync\n---------\n\n"
fi
}
# !! no in use. backup script does not perserve timestamps or something so it wants to overwrite most files
# will fix bidirectional sync at some point
# syncfile="laptop:.surf/styles laptop:.urlview laptop:.gnupg laptop:.local/bin/lf-gadgets laptop:.local/share/applications/custom laptop:.config/FreeTube laptop:.config/newsboat laptop:.config/zsh laptop:.config/vesktop/themes laptop:.keepass laptop:.config/Pinta laptop:.config/cmus laptop:.config/gajim/theme laptop:stuff"
syncfile="laptop:stuff/scripts/node/Nwjs/nms-data/"
#sync game stuff
target="/home/iceyrazor/"
exclude="--exclude stuff/.private --exclude stream.sh --exclude node_modules --exclude **/target"
fsynca
fsyncb