diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-01-20 04:51:39 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-01-20 04:51:39 +0000 |
commit | c374e8db5cd7580b00c3211e8f651a6db6d0c5d4 (patch) | |
tree | c69d9d3e57c90cb364d3f051813619db38e46e18 /lcd4linux.c | |
parent | 43b7c5545ed0f017f5d752bafc4c76dde7d2e6d3 (diff) | |
download | lcd4linux-c374e8db5cd7580b00c3211e8f651a6db6d0c5d4.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
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@321 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | lcd4linux.conf.sample | 19 |
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' |