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