From c374e8db5cd7580b00c3211e8f651a6db6d0c5d4 Mon Sep 17 00:00:00 2001 From: reinelt Date: Tue, 20 Jan 2004 04:51:39 +0000 Subject: [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 --- lcd4linux.conf.sample | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'lcd4linux.conf.sample') 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' -- cgit v1.2.3