mb-obthemes keep new menu settings

master
Daniel Napora 2021-01-15 12:31:48 +01:00
parent 5fbdeaadbd
commit 388e78f97f
1 changed files with 6 additions and 0 deletions

View File

@ -754,7 +754,13 @@ function restoreGTK(){ # $1 is chosen saved config dir
done done
} }
function restoreMenuPanel() { function restoreMenuPanel() {
. ~/.config/mabox/mabox.conf
cp -a $1/mabox.conf $HOME/.config/mabox/mabox.conf cp -a $1/mabox.conf $HOME/.config/mabox/mabox.conf
mb-setvar jgtools_border=${jgtools_border:-0}
mb-setvar jgtools_padding=${jgtools_padding:-0}
mb-setvar jgtools_radius=${jgtools_radius:-0}
mb-setvar panels_topmargin=${panels_topmargin:-0}
mb-setvar submenu_spacing=${submenu_spacing:-0}
} }
function restoreOBrc(){ function restoreOBrc(){
RCFILE="$OBPATH/rc.xml" RCFILE="$OBPATH/rc.xml"