[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
This commit is contained in:
reinelt
2004-01-20 04:51:39 +00:00
parent 43b7c5545e
commit c374e8db5c
11 changed files with 1092 additions and 442 deletions

View File

@@ -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'