diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-02-22 17:35:41 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-02-22 17:35:41 +0000 |
commit | 403de86b7654e9affa051b9582cdfb06447fc839 (patch) | |
tree | 40016fbbdef98d18487eccee82ce319e15749a6e /lcd4linux.c | |
parent | 3d5c57c9a50a4921f0ac84217c60091e2a5e3990 (diff) | |
download | lcd4linux-403de86b7654e9affa051b9582cdfb06447fc839.tar.gz |
[lcd4linux @ 2004-02-22 17:35:41 by reinelt]
some fixes for generic graphic driver and T6963
removed ^M from plugin_imon (Nico, are you editing under Windows?)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@373 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | lcd4linux.conf.sample | 72 |
1 files changed, 61 insertions, 11 deletions
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample index 567970e..777ca7e 100644 --- a/lcd4linux.conf.sample +++ b/lcd4linux.conf.sample @@ -74,7 +74,7 @@ Display USBLCD { Display T6963-240x64 { Driver 'T6963' Port '/dev/parports/0' - Size '240x64' + Size '240x128' Wire.CE 'STROBE' Wire.CD 'SELECT' Wire.RD 'AUTOFD' @@ -152,6 +152,48 @@ Widget LoadBar { } +Widget Disk { + class 'Text' + # disk.[rw]blk return blocks, we assume a blocksize of 512 + # to get the number in kB/s we would do blk*512/1024, which is blk/2 + expression (disk('.*', 'rblk', 500)+disk('.*', 'wblk', 500))/2 + prefix 'disk' + postfix ' ' + width 10 + precision 0 + align 'R' + update tick +} + +Widget DiskBar { + class 'Bar' + expression disk('.*', 'rblk', 500) + expression2 disk('.*', 'wblk', 500) + length 14 + direction 'E' + update tack +} + +Widget Eth0 { + class 'Text' + expression (netdev('eth0.Rx.bytes', 500)+netdev('eth0.Tx.bytes', 500))/1024 + prefix 'eth0' + postfix ' ' + width 10 + precision 0 + align 'R' + update tick +} + +Widget Eth0Bar { + class 'Bar' + expression netdev('eth0.Rx.bytes', 500) + expression2 netdev('eth0.Tx.bytes', 500) + length 14 + direction 'E' + update tack +} + Widget Heartbeat { class 'Icon' speed 800 @@ -276,6 +318,14 @@ Layout Default { Col1 'Load' Col11 'LoadBar' } + Row5 { + Col1 'Disk' + Col11 'DiskBar' + } + Row6 { + Col1 'Eth0' + Col11 'Eth0Bar' + } } Layout L24x8 { @@ -312,14 +362,14 @@ Layout Test { Row06.Col1 'Test' Row07.Col1 'Test' Row08.Col1 'Test' - Row09.Col1 'Test' - Row10.Col1 'Test' - Row11.Col1 'Test' - Row12.Col1 'Test' - Row13.Col1 'Test' - Row14.Col1 'Test' - Row15.Col1 'Test' - Row16.Col1 'Test' +# Row09.Col1 'Test' +# Row10.Col1 'Test' +# Row11.Col1 'Test' +# Row12.Col1 'Test' +# Row13.Col1 'Test' +# Row14.Col1 'Test' +# Row15.Col1 'Test' +# Row16.Col1 'Test' } #Display 'LK204' @@ -331,9 +381,9 @@ Layout Test { #Display 'USBLCD' Display 'T6963-240x64' -#Layout 'Default' +Layout 'Default' #Layout 'L16x2' -Layout 'Test' +#Layout 'Test' Variables { |