diff --git a/desktop/lxde-common/config/panel b/desktop/lxde-common/config/panel index e81e5e5779..0ff574412e 100644 --- a/desktop/lxde-common/config/panel +++ b/desktop/lxde-common/config/panel @@ -141,6 +141,29 @@ Plugin { } } +Plugin { + type = batt + Config { + HideIfNoBattery=0 + AlarmCommand=xmessage Battery low + AlarmTime=5 + BackgroundColor=black + BorderWidth=1 + ChargingColor1=#28f200 + ChargingColor2=#22cc00 + DischargingColor1=#ffee00 + DischargingColor2=#d9ca00 + Size=8 + } +} + +Plugin { + type = space + Config { + Size=4 + } +} + Plugin { type = cpu } diff --git a/desktop/lxde-common/lxde-common.SlackBuild b/desktop/lxde-common/lxde-common.SlackBuild index 57e62bb606..095c760932 100644 --- a/desktop/lxde-common/lxde-common.SlackBuild +++ b/desktop/lxde-common/lxde-common.SlackBuild @@ -42,6 +42,8 @@ # 0.5.5-1: 26/dec/2011 by Matteo Bernardini # * Update. # * su_cmd defaults to gksu-polkit. +# 0.5.5-2: 31/dec/2011 by Matteo Bernardini +# * updated panel default config with battery indicator # # Run 'sh lxde-common.SlackBuild' to build a Slackware package. # The package is created in /tmp . @@ -51,7 +53,7 @@ PRGNAM=lxde-common VERSION=${VERSION:-0.5.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then