diff --git a/bin/periodic/fix-flatpaks-theming b/bin/periodic/fix-flatpaks-theming index c4ab141..87f4e53 100755 --- a/bin/periodic/fix-flatpaks-theming +++ b/bin/periodic/fix-flatpaks-theming @@ -1,4 +1,5 @@ #!/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 diff --git a/bin/periodic/fix-theming b/bin/periodic/fix-theming index 7ea4d30..053be92 100755 --- a/bin/periodic/fix-theming +++ b/bin/periodic/fix-theming @@ -20,6 +20,7 @@ sync_icon_theme() { sed -i "s/^icon_theme=.*$/icon_theme=$icon_theme/" "$HOME"/.config/qt6ct/qt6ct.conf } +pidof -sq -o %PPID -x "$(basename "$0")" && exit while :; do # Get the current system theme theme_new=$(xfconf-query -c xsettings -p /Net/ThemeName)