add multiple fix instances check

This commit is contained in:
2022-09-17 23:35:02 +02:00
parent 57cd5cf29c
commit 7446f5ce65
2 changed files with 2 additions and 0 deletions

View File

@@ -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)