From 4e037213edd93a18aeb807f42e2a3967e5395ceb Mon Sep 17 00:00:00 2001 From: Tio TROM Date: Sun, 18 Sep 2022 19:31:38 +0200 Subject: [PATCH] new rsync method --- bin/periodic/fix-flatpaks-theming | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bin/periodic/fix-flatpaks-theming b/bin/periodic/fix-flatpaks-theming index c4ab141..672f2c7 100755 --- a/bin/periodic/fix-flatpaks-theming +++ b/bin/periodic/fix-flatpaks-theming @@ -1,7 +1,4 @@ #!/bin/sh -while :; do - rm -r ~/.themes/* 2> /dev/null - rsync -av --progress /usr/share/themes/* ~/.themes/ --exclude Windowck - rsync -av --progress ~/.local/share/themes/* ~/.themes/ --exclude Windowck-dark - sleep 600 +while inotifywait -r /usr/share/themes/; do + rsync -az ~/.themes/ /target done \ No newline at end of file