new rsync method

This commit is contained in:
Tio TROM 2022-09-18 19:31:38 +02:00
parent a21e0df0bf
commit 4e037213ed

View File

@ -1,7 +1,4 @@
#!/bin/sh #!/bin/sh
while :; do while inotifywait -r /usr/share/themes/; do
rm -r ~/.themes/* 2> /dev/null rsync -az ~/.themes/ /target
rsync -av --progress /usr/share/themes/* ~/.themes/ --exclude Windowck
rsync -av --progress ~/.local/share/themes/* ~/.themes/ --exclude Windowck-dark
sleep 600
done done