#!/bin/sh
pidof -sq -o %PPID -x "$(basename "$0")" && exit
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
done