Add a script to restart fixes during the package upgrade #2

Closed
eSh wants to merge 3 commits from restart-scripts into main
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 7446f5ce65 - Show all commits

View File

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

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)