fix previous commit

master
Daniel Napora 2020-09-22 09:49:38 +02:00
parent 74323a6bab
commit 482088dc6b
1 changed files with 4 additions and 3 deletions

View File

@ -622,11 +622,11 @@ function setXsettingsd() {
gtk_theme="$(grep "^[^#]*gtk-theme-name" "${HOME}/.config/gtk-3.0/settings.ini")"
gtk_theme="${gtk_theme/gtk-theme-name*=}"
echo "Net/ThemeName \"$gtk_theme\"" >> "$HOME/.config/xsettingsd/xsettingsd.conf"
echo "Net/ThemeName \"$gtk_theme\"" > "$HOME/.config/xsettingsd/xsettingsd.conf"
gtk_theme_icons="$(grep "^[^#]*gtk-icon-theme-name" "${HOME}/.config/gtk-3.0/settings.ini")"
gtk_theme_icons="${gtk_theme_icons/gtk-icon-theme-name*=}"
echo "Net/IconThemeName \"$gtk_theme_icons\"" > "$HOME/.config/xsettingsd/xsettingsd.conf"
echo "Net/IconThemeName \"$gtk_theme_icons\"" >> "$HOME/.config/xsettingsd/xsettingsd.conf"
bl-reload-gtk23
}
@ -1112,8 +1112,9 @@ function restoreSettings(){
openbox --reconfigure
#mb-regenerate-menu
restoreMenuPanel "$FPATH"
restoreSettings
setXsettingsd
restoreSettings
}
### END FUNCTIONS ######################################################