save whole mbcolors obtheme
parent
60196e3430
commit
ad6ccacbb8
|
@ -598,9 +598,10 @@ function getOBname(){ # get OB theme name
|
|||
echo -e "\n Zapisano $TXT"
|
||||
echo "$TXT" >> "$LISTMSG"
|
||||
if [[ "$OBTHEME" == "MBcolors" ]];then
|
||||
cp ~/.themes/MBcolors/openbox-3/themerc "$CONFIGDIR"
|
||||
theme.sh -l|tail -n1 > "$CONFIGDIR/terminal_theme"
|
||||
mkdir -p $CONFIGDIR/MBcolors
|
||||
cp -a ~/.themes/MBcolors/openbox-3/* $CONFIGDIR/MBcolors/
|
||||
fi
|
||||
theme.sh -l|tail -n1 > "$CONFIGDIR/terminal_theme"
|
||||
}
|
||||
|
||||
function getGTKtheme(){
|
||||
|
@ -806,11 +807,11 @@ function restoreOBrc(){
|
|||
RCFILE="$OBPATH/rc.xml"
|
||||
THEMEFILE="$1/obtheme.txt"
|
||||
FTEMP=$(mktemp --tmpdir blob.XXXX)
|
||||
MENUFILE="$1/menu.xml"
|
||||
cp "$MENUFILE" "$OBPATH"
|
||||
THEMERC="$1/themerc"
|
||||
if [[ -f "$THEMERC" ]];then
|
||||
cp "$THEMERC" ~/.themes/MBcolors/openbox-3/
|
||||
#MENUFILE="$1/menu.xml"
|
||||
#cp "$MENUFILE" "$OBPATH"
|
||||
MBCOLORS="$1/MBcolors"
|
||||
if [[ -d "$MBCOLORS" ]];then
|
||||
cp -a $MBCOLORS/* ~/.themes/MBcolors/openbox-3/
|
||||
fi
|
||||
TERMINAL_THEME="$1/terminal_theme"
|
||||
if [[ -f "$TERMINAL_THEME" ]];then
|
||||
|
|
Loading…
Reference in New Issue