Display st2205u { Driver 'DPF' Port 'usb0' Font '6x8' Foreground '00ff00' Background '000000' Basecolor '000000' } Widget Uptime { class 'Text' width 21 align 'R' expression uptime('%d days %H:%M:%S') prefix 'Up: ' } Widget Time { class 'Text' width 21 align 'R' #prefix 'Chip: ' #postfix '°C' #precision 1 expression strftime('%a, %d %b %H:%M:%S',time()) } Widget Temp1 { class 'Text' width 21 align 'R' prefix 'Chip: ' postfix '°C' precision 1 expression i2c_sensors('temp1_input') } Widget Temp2 { class 'Text' width 21 align 'R' prefix 'CPU: ' postfix '°C' precision 1 expression i2c_sensors('temp2_input') } Widget Temp3 { class 'Text' width 21 align 'R' prefix 'Sys: ' postfix '°C' precision 1 expression i2c_sensors('temp3_input') } Widget Busy { class 'Text' width 4 align 'L' precision 1 expression 100 * loadavg(1) } Widget BusyBar { class 'Bar' expression loadavg(1) length 16 min 0 max 1 direction 'E' style 'H' } Widget Uname { class 'Text' width 21 expression uname('nodename') . ' ' . uname('release') } Widget Bahn { class 'Text' width 54 align 'C' style 'bold' Background '00ff00' Foreground '000000' expression 'Bahn' } Widget Bahn1 { class 'Text' width 100 expression file::readline('/tmp/bahn', 1) update 10000 } Widget Bahn2 { class 'Text' width 100 expression file::readline('/tmp/bahn', 2) update 10000 } Widget Bahn3 { class 'Text' width 100 expression file::readline('/tmp/bahn', 3) update 10000 } Widget Bahn4 { class 'Text' width 100 expression file::readline('/tmp/bahn', 4) update 10000 } Widget Bahn5 { class 'Text' width 100 expression file::readline('/tmp/bahn', 5) update 10000 } Widget Weather { class 'Text' width 54 align 'C' style 'bold' Background '00ff00' Foreground '000000' expression 'Weather' } Widget Weather1 { class 'Text' width 100 expression file::readline('/tmp/weather', 1) update 60000 } Widget Weather2 { class 'Text' width 100 expression file::readline('/tmp/weather', 2) update 60000 } Widget Weather3 { class 'Text' width 100 expression file::readline('/tmp/weather', 3) update 60000 } Widget Weather4 { class 'Text' width 100 expression file::readline('/tmp/weather', 4) update 60000 } Widget Weather5 { class 'Text' width 100 expression file::readline('/tmp/weather', 5) update 60000 } Widget Weather6 { class 'Text' width 100 expression file::readline('/tmp/weather', 6) update 60000 } Widget Disk { class 'Text' width 21 prefix 'Disk:' align 'R' expression exec('/root/disk.py', 60 * 1000) update 10000 } Widget Test { class 'Text' expression '0123456789012345678901234567890123456789' width 100 } Layout mylayout { Row03.Col04 'Uname' #Row03.Col03 'Uptime' Row04.Col03 'Time' Row06.Col03 'Temp1' Row07.Col03 'Temp2' Row08.Col03 'Disk' Row09.Col03 'Busy' Row09.Col08 'BusyBar' Row11.Col01 'Bahn' Row13.Col03 'Bahn1' Row14.Col03 'Bahn2' Row15.Col03 'Bahn3' Row16.Col03 'Bahn4' Row17.Col03 'Bahn5' Row20.Col01 'Weather' Row22.Col03 'Weather1' Row23.Col03 'Weather2' Row24.Col03 'Weather3' Row25.Col03 'Weather4' Row26.Col03 'Weather5' Row27.Col03 'Weather6' } Display 'st2205u' Layout 'mylayout'