mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
moved lcd4linux.conf.sample to *.old lcd4linux.conf.sample with new layout new plugins 'loadavg' and 'meminfo' text widget have pre- and postfix git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@311 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
77 lines
1007 B
Plaintext
77 lines
1007 B
Plaintext
Display LK204 {
|
|
Driver 'MatrixOrbital'
|
|
Model 'LK204-24-USB'
|
|
Port '/dev/usb/tts/0'
|
|
Port '/dev/tts/0'
|
|
Speed 19200
|
|
Contrast 256/2
|
|
}
|
|
|
|
Widget OS {
|
|
class 'Text'
|
|
expression '*** '.uname('sysname').' '.uname('release').' ***'
|
|
width 20
|
|
align 'C'
|
|
update tick
|
|
}
|
|
|
|
Widget CPU {
|
|
class 'Text'
|
|
expression uname('machine')
|
|
postfix ' CPU'
|
|
width 10
|
|
align 'L'
|
|
update tick
|
|
}
|
|
|
|
|
|
Widget RAM {
|
|
class 'Text'
|
|
expression meminfo('MemTotal')/1024
|
|
postfix ' MB RAM'
|
|
width 5
|
|
precision 0
|
|
align 'R'
|
|
update tick
|
|
}
|
|
|
|
Widget Disk {
|
|
class 'text'
|
|
expression Pi
|
|
width 10
|
|
precision 2
|
|
align 'R'
|
|
update tick
|
|
}
|
|
|
|
|
|
Widget LAN {
|
|
class 'text'
|
|
expression "12.12345678"
|
|
width 10
|
|
precision 2
|
|
align 'M'
|
|
update tick
|
|
speed tack
|
|
}
|
|
|
|
|
|
Layout Default {
|
|
Row1 {
|
|
Col1 'OS'
|
|
}
|
|
Row02 {
|
|
Col1 'CPU'
|
|
Col10 'RAM'
|
|
}
|
|
}
|
|
|
|
Display 'LK204'
|
|
Layout 'Default'
|
|
|
|
|
|
Variables {
|
|
tick 500
|
|
tack 100
|
|
}
|