aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.conf.sample
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-15 07:47:03 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-15 07:47:03 +0000
commit8bd25913d494772e695311c5745bbcc8a5a57e77 (patch)
treef68e6fa36a66eb421d67154ef105b28971e483c3 /lcd4linux.conf.sample
parent89e4f42deb9e5c5bdc712613d85629d4398e19b7 (diff)
downloadlcd4linux-8bd25913d494772e695311c5745bbcc8a5a57e77.tar.gz
[lcd4linux @ 2004-01-15 07:47:02 by reinelt]
debian/ postinst and watch added (did CVS forget about them?) evaluator: conditional expressions (a?b:c) added text widget nearly finished git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@313 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'lcd4linux.conf.sample')
-rw-r--r--lcd4linux.conf.sample43
1 files changed, 22 insertions, 21 deletions
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample
index 780876e..fdd34d3 100644
--- a/lcd4linux.conf.sample
+++ b/lcd4linux.conf.sample
@@ -2,7 +2,7 @@ Display LK204 {
Driver 'MatrixOrbital'
Model 'LK204-24-USB'
Port '/dev/usb/tts/0'
- Port '/dev/tts/0'
+# Port '/dev/tts/0'
Speed 19200
Contrast 256/2
}
@@ -18,8 +18,8 @@ Widget OS {
Widget CPU {
class 'Text'
expression uname('machine')
- postfix ' CPU'
- width 10
+ prefix 'CPU '
+ width 9
align 'L'
update tick
}
@@ -29,30 +29,21 @@ Widget RAM {
class 'Text'
expression meminfo('MemTotal')/1024
postfix ' MB RAM'
- width 5
+ width 11
precision 0
align 'R'
update tick
}
-Widget Disk {
- class 'text'
- expression Pi
- width 10
- precision 2
- align 'R'
- update tick
-}
-
-
-Widget LAN {
- class 'text'
- expression "12.12345678"
+Widget Load {
+ class 'Text'
+ expression loadavg(1)
+ prefix 'Load'
+ postfix loadavg(1)>1.0?'!':' '
width 10
precision 2
- align 'M'
- update tick
- speed tack
+ align 'R'
+ update tack
}
@@ -60,15 +51,25 @@ Layout Default {
Row1 {
Col1 'OS'
}
- Row02 {
+ Row2 {
Col1 'CPU'
Col10 'RAM'
}
+ Row3 {
+ }
+ Row4 {
+ Col1 'Load'
+ }
}
+
Display 'LK204'
Layout 'Default'
+#Row1 "*** %o %v ***"
+#Row2 "%p CPU %r MB RAM"
+#Row3 "Busy %cb%% $r10cs+cb"
+#Row4 "Load%l1%L$r10l1"
Variables {
tick 500