fix mcc and mwelcome
This commit is contained in:
6
bin/mcc
6
bin/mcc
@@ -620,7 +620,7 @@ GDK_BACKEND=x11 yad --window-icon=mcc \
|
|||||||
--tab="$HELP"\
|
--tab="$HELP"\
|
||||||
--tab="<i>$THEMES</i>" \
|
--tab="<i>$THEMES</i>" \
|
||||||
--title="$TITLE" --image=/usr/share/icons/hicolor/48x48/apps/mcc.png \
|
--title="$TITLE" --image=/usr/share/icons/hicolor/48x48/apps/mcc.png \
|
||||||
--width="720" --height="420" --image-on-top --text-justify=right --text="$MCC" --no-buttons > $out &
|
--width="720" --height="420" --text-justify=right --text="$MCC" --no-buttons > $out &
|
||||||
|
|
||||||
else
|
else
|
||||||
GDK_BACKEND=x11 yad --window-icon=mcc \
|
GDK_BACKEND=x11 yad --window-icon=mcc \
|
||||||
@@ -638,7 +638,7 @@ GDK_BACKEND=x11 yad --window-icon=mcc \
|
|||||||
--tab="<i>$LOOK</i>" \
|
--tab="<i>$LOOK</i>" \
|
||||||
--tab="$HELP"\
|
--tab="$HELP"\
|
||||||
--title="$TITLE" --image=/usr/share/icons/hicolor/48x48/apps/mcc.png \
|
--title="$TITLE" --image=/usr/share/icons/hicolor/48x48/apps/mcc.png \
|
||||||
--width="720" --height="420" --image-on-top --text-justify=right --text="$MCC" --no-buttons > $out &
|
--width="720" --height="420" --text-justify=right --text="$MCC" --no-buttons > $out &
|
||||||
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@@ -793,7 +793,7 @@ GDK_BACKEND=x11 yad --window-icon=mcc \
|
|||||||
--tab="<i>$THEMES</i>" \
|
--tab="<i>$THEMES</i>" \
|
||||||
--tab="$HELP"\
|
--tab="$HELP"\
|
||||||
--title="$TITLE - Labwc (beta)" --image=/usr/share/icons/hicolor/48x48/apps/mcc.png \
|
--title="$TITLE - Labwc (beta)" --image=/usr/share/icons/hicolor/48x48/apps/mcc.png \
|
||||||
--width="720" --height="420" --image-on-top --text-justify=right --text="$MCC" --no-buttons > $out &
|
--width="720" --height="420" --text-justify=right --text="$MCC" --no-buttons > $out &
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -110,8 +110,8 @@ OSVERSION=$(lsb_release -r | awk '{print $2}')
|
|||||||
OSCODE=$(lsb_release -c | awk '{print $2}')
|
OSCODE=$(lsb_release -c | awk '{print $2}')
|
||||||
FONT="foreground='dark green' font='14'"
|
FONT="foreground='dark green' font='14'"
|
||||||
|
|
||||||
values=($(yad --window-icon=distributor-logo-mabox --center --buttons-layout="edge" --borders=20 --width=520 --height=380 \
|
values=($(yad --window-icon=distributor-logo-mabox --center --buttons-layout="edge" --borders=20 --width=520 --height=380 \
|
||||||
--image=/usr/share/icons/mabox_trans_64.png --image-on-top \
|
--image=/usr/share/icons/mabox_trans_64.png \
|
||||||
--text="<span $FONT>$OSNAME $OSVERSION $OSCODE</span>\n\n$TXT1" \
|
--text="<span $FONT>$OSNAME $OSVERSION $OSCODE</span>\n\n$TXT1" \
|
||||||
--title="$TITLE" \
|
--title="$TITLE" \
|
||||||
--columns=3 --align="center" --form \
|
--columns=3 --align="center" --form \
|
||||||
|
|||||||
Reference in New Issue
Block a user