fix codename in sidepanels
parent
766b901d48
commit
f15ee6881a
|
@ -49,7 +49,8 @@ WEBBROWSER="exo-open --launch WebBrowser"
|
|||
|
||||
OSNAME=$(lsb_release -d | awk '{print $2}')
|
||||
OSVERSION=$(lsb_release -r | awk '{print $2}')
|
||||
OSCODE=$(lsb_release -c | awk '{print $2}')
|
||||
#OSCODE=$(lsb_release -c | awk '{print $2}')
|
||||
OSCODE=$(grep CODENAME /etc/lsb-release |cut -d '=' -f2)
|
||||
|
||||
mkconfigfile() {
|
||||
cat <<EOF > ${CONFIG_FILE}
|
||||
|
@ -459,7 +460,7 @@ cat <<EOF > ${RHEAD}
|
|||
@icon,,$((jgtools_padding)),$((jgtools_padding)),278,158,4,left,top,,,${THUMB}
|
||||
@icon,,$((jgtools_padding + 2)),$((jgtools_padding + 2)),48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/distributor-logo-mabox.png
|
||||
@rect,,$((jgtools_padding + 52)),$((jgtools_padding + 2)),200,76,2,left,top,#222222 50,#222222 80,
|
||||
@text,,$((jgtools_padding + 58)),$((jgtools_padding + 4)),200,20,4,left,top,#EEEEEE,#EEEEEE,<big>$OSNAME $OSVERSION</big> <sup><i>$OSCODE</i></sup>
|
||||
@text,,$((jgtools_padding + 58)),$((jgtools_padding + 4)),200,20,4,left,top,#EEEEEE,#EEEEEE,<big>$OSNAME $OSVERSION</big> <sup><i>${OSCODE}</i></sup>
|
||||
@text,,$((jgtools_padding + 58)),$((jgtools_padding + 24)),200,20,4,left,top,#EEEEEE,#EEEEEE,<small>$USER@$HOSTNAME</small>
|
||||
@rect,,$((jgtools_padding + 72)),$((jgtools_padding + 130)),160,22,2,left,top,#222222 50,#222222 80,
|
||||
@search,,$((jgtools_padding + 80)),$((jgtools_padding + 130)),292,20,4,left,top,#EEEEEE,##EEEEEE,"""<big></big> <small><i>$TYPE_TO_SEARCH</i></small>"""
|
||||
|
@ -739,7 +740,7 @@ cat <<EOF > ${LHEAD}
|
|||
@icon,,$((jgtools_padding)),$((jgtools_padding)),248,148,4,left,top,,,${THUMB}
|
||||
@icon,,$((jgtools_padding - 6)),$((jgtools_padding - 6)),48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png
|
||||
@rect,,$((jgtools_padding + 82)),$((jgtools_padding + 109)),160,26,2,left,top,#222222 50,#FFFFFF 80,
|
||||
@text,,$((jgtools_padding + 90)),$((jgtools_padding + 113)),180,20,4,left,top,#222222,auto,$OSNAME $OSVERSION <sup><i>$OSCODE</i></sup>
|
||||
@text,,$((jgtools_padding + 90)),$((jgtools_padding + 113)),180,20,4,left,top,#222222,auto,<b>$OSNAME $OSVERSION <sup><i>$OSCODE</i></sup></b>
|
||||
#@text,,$((jgtools_padding + 62)),$((jgtools_padding + 30)),180,20,4,left,top,#222222,#444444,<small>$USER@$HOSTNAME</small>
|
||||
EOF
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue