From: Marco S. <ma...@pr...> - 2004-04-23 10:13:55
|
Display HD44780-20x4 { Driver 'HD44780' # Port '/dev/parports/0' Port '0x378' Bits '8' Size '20x4' asc255bug 1 Wire { RW 'AUTOFD' RS 'INIT' ENABLE 'STROBE' GPO 'GND' } } i2c_sensors-path '/sys/bus/i2c/devices/1-002d/' Widget SensorCPU { class 'Text' expression temp_input2 prefix 'CPU: ' postfix 'c' width 9 align 'L' update tick } #Widget SensorMB { # class 'Text' # expression temp_input1 # prefix 'MB: ' # postfix 'c' # width 11 # align 'R' # update tick #} Widget OS { class 'Text' expression 'Gentoo-1.4 2.6.5-mm6' width 20 align 'L' update tick } Widget RAM { class 'Text' expression meminfo('MemTotal')/1024 postfix ' MB RAM' width 11 precision 0 align 'R' update tick } Widget Busy { class 'Text' expression cpu('system', 500) prefix 'Busy' postfix '%' width 10 precision 1 align 'R' update tick } Widget BusyBar { class 'Bar' expression cpu('system', 500) length 10 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 } Layout Default { Row1 { Col1 'OS' } Row2 { Col1 'SensorCPU' # Col10 'SensorMB' } Row3 { Col1 'Busy' Col11 'BusyBar' } Row4 { Col1 'Eth0' Col11 'Eth0Bar' } } Display 'HD44780-20x4' Layout 'Default' Variables { tick 500 tack 100 minute 60000 } |