mcc
parent
94ba2d5f41
commit
bb0e1e20b3
4
bin/mcc
4
bin/mcc
|
@ -326,7 +326,7 @@ fi
|
|||
TODAY=$(date +%F)
|
||||
let DIFF=($(date +%s -d ${TODAY})-$(date +%s -d ${INST}))/86400
|
||||
if [[ "$DIFF" > "1" ]];then
|
||||
DAGO="${DIFF} ${DAYS_AGO}"
|
||||
DAGO="(${DIFF} ${DAYS_AGO})"
|
||||
else
|
||||
DAGO=""
|
||||
fi
|
||||
|
@ -343,7 +343,7 @@ RESOLUTION=$(xdpyinfo | awk '/^ +dimensions/ {print $2}')
|
|||
INTRO_TXT=$(cat <<EOF
|
||||
\t<big>Mabox Linux $OSVERSION</big> <i>$OSCODE</i>
|
||||
\t<small><i>$MABOX_DESC</i></small>\n
|
||||
\t<small><tt>$INSTALLED </tt></small><b>$INST</b> <small>($DAGO)</small>
|
||||
\t<small><tt>$INSTALLED </tt></small><b>$INST</b> <small>$DAGO</small>
|
||||
\t<small><tt>wm: </tt></small><b>$XDG_SESSION_DESKTOP</b>
|
||||
\t<small><tt>uptime: </tt></small><b>$UPT</b>
|
||||
\n
|
||||
|
|
Loading…
Reference in New Issue