Add a script to restart fixes during the package upgrade #2
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
pidof -sq -o %PPID -x "$(basename "$0")" && exit
|
||||||
while :; do
|
while :; do
|
||||||
rm -r ~/.themes/* 2> /dev/null
|
rm -r ~/.themes/* 2> /dev/null
|
||||||
rsync -av --progress /usr/share/themes/* ~/.themes/ --exclude Windowck
|
rsync -av --progress /usr/share/themes/* ~/.themes/ --exclude Windowck
|
||||||
|
|
|
@ -20,6 +20,7 @@ sync_icon_theme() {
|
||||||
sed -i "s/^icon_theme=.*$/icon_theme=$icon_theme/" "$HOME"/.config/qt6ct/qt6ct.conf
|
sed -i "s/^icon_theme=.*$/icon_theme=$icon_theme/" "$HOME"/.config/qt6ct/qt6ct.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pidof -sq -o %PPID -x "$(basename "$0")" && exit
|
||||||
while :; do
|
while :; do
|
||||||
# Get the current system theme
|
# Get the current system theme
|
||||||
theme_new=$(xfconf-query -c xsettings -p /Net/ThemeName)
|
theme_new=$(xfconf-query -c xsettings -p /Net/ThemeName)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user