fix previous commit
parent
74323a6bab
commit
482088dc6b
|
@ -622,11 +622,11 @@ function setXsettingsd() {
|
||||||
|
|
||||||
gtk_theme="$(grep "^[^#]*gtk-theme-name" "${HOME}/.config/gtk-3.0/settings.ini")"
|
gtk_theme="$(grep "^[^#]*gtk-theme-name" "${HOME}/.config/gtk-3.0/settings.ini")"
|
||||||
gtk_theme="${gtk_theme/gtk-theme-name*=}"
|
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="$(grep "^[^#]*gtk-icon-theme-name" "${HOME}/.config/gtk-3.0/settings.ini")"
|
||||||
gtk_theme_icons="${gtk_theme_icons/gtk-icon-theme-name*=}"
|
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
|
bl-reload-gtk23
|
||||||
}
|
}
|
||||||
|
@ -1112,8 +1112,9 @@ function restoreSettings(){
|
||||||
openbox --reconfigure
|
openbox --reconfigure
|
||||||
#mb-regenerate-menu
|
#mb-regenerate-menu
|
||||||
restoreMenuPanel "$FPATH"
|
restoreMenuPanel "$FPATH"
|
||||||
restoreSettings
|
|
||||||
setXsettingsd
|
setXsettingsd
|
||||||
|
restoreSettings
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
### END FUNCTIONS ######################################################
|
### END FUNCTIONS ######################################################
|
||||||
|
|
Loading…
Reference in New Issue