From a154033cb8e1970ee9f5060b6aaaf22c33aa4a07 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Fri, 7 Sep 2012 18:49:52 +0200 Subject: desktop/lxde-common: Updated the panel conf. with a battery bar. Signed-off-by: Matteo Bernardini --- desktop/lxde-common/config/panel | 23 +++++++++++++++++++++++ desktop/lxde-common/lxde-common.SlackBuild | 4 +++- 2 files changed, 26 insertions(+), 1 deletion(-) (limited to 'desktop/lxde-common') 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 -- cgit v1.2.3