aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.conf.sample
diff options
context:
space:
mode:
authorreinelt <>2004-01-20 04:51:39 +0000
committerreinelt <>2004-01-20 04:51:39 +0000
commit252cb9023289ad2af5993cf53c0d0fd7293cff27 (patch)
treec69d9d3e57c90cb364d3f051813619db38e46e18 /lcd4linux.conf.sample
parent928b0e09a5725abfd53421f19e5e53845e7aa100 (diff)
downloadlcd4linux-252cb9023289ad2af5993cf53c0d0fd7293cff27.tar.gz
[lcd4linux @ 2004-01-20 04:51:39 by reinelt]
moved generic stuff from drv_MatrixOrbital to drv_generic implemented new-stylish bars which are nearly finished
Diffstat (limited to 'lcd4linux.conf.sample')
-rw-r--r--lcd4linux.conf.sample19
1 files changed, 14 insertions, 5 deletions
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample
index 4082210..b3ecb18 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
}
@@ -38,7 +38,7 @@ Widget RAM {
Widget Busy {
class 'Text'
expression cpu('busy', 500)
- prefix 'Busy '
+ prefix 'Busy'
postfix '%'
width 10
precision 1
@@ -46,15 +46,23 @@ Widget Busy {
update tick
}
+Widget BusyBar {
+ class 'Bar'
+ expression cpu('busy', 500)
+ length 10
+ direction 'E'
+ update tack
+}
+
Widget Load {
class 'Text'
expression loadavg(1)
prefix 'Load'
postfix loadavg(1)>1.0?'!':' '
width 10
- precision 2
+ precision 1
align 'R'
- update tack
+ update tick
}
@@ -67,7 +75,8 @@ Layout Default {
Col10 'RAM'
}
Row3 {
- Col1 'Busy'
+ Col1 'Busy'
+ Col10 'BusyBar'
}
Row4 {
Col1 'Load'