aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-07 18:49:52 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-08 17:27:21 -0500
commita154033cb8e1970ee9f5060b6aaaf22c33aa4a07 (patch)
tree46b12d2bbd85d32b7407f8ab083e5740328ea032
parent06c84f8c1a6668dafdb58d7a45ff91ad49c80fe3 (diff)
desktop/lxde-common: Updated the panel conf. with a battery bar.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--desktop/lxde-common/config/panel23
-rw-r--r--desktop/lxde-common/lxde-common.SlackBuild4
2 files changed, 26 insertions, 1 deletions
diff --git a/desktop/lxde-common/config/panel b/desktop/lxde-common/config/panel
index e81e5e5779b0..0ff574412ebd 100644
--- a/desktop/lxde-common/config/panel
+++ b/desktop/lxde-common/config/panel
@@ -142,6 +142,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 57e62bb606f2..095c760932fe 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 <ponce@slackbuilds.org>
# * Update.
# * su_cmd defaults to gksu-polkit.
+# 0.5.5-2: 31/dec/2011 by Matteo Bernardini <ponce@slackbuilds.org>
+# * 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