Display st2205u { Driver 'st2205' Port '/dev/sdb' Font '6x8' Foreground '00ff00' Background '000000' Basecolor '0000ff' } Display png { Driver 'Image' Format 'PNG' Size '128x128' Font '6x8' Pixel '1+0' Gap '0x0' Foreground '0000ff' Background 'ffffff' Basecolor 'ffffff' } Widget Uname { class 'Text' width 21 align 'C' style 'bold' Background '00ff00' Foreground '000000' expression uname('nodename') . ' ' . uname('release') } Widget IPaddress { class 'Text' prefix 'IP: ' width 21 # length 21 align 'L' expression netinfo::ipaddr('eth0') Background '000000' Foreground 'ffff00' update 1000 } Widget Uptime { class 'Text' width 21 # length 21 align 'R' expression uptime('%d days %H:%M:%S') prefix 'Up: ' update 1000 } Widget Busy { class 'Text' width 5 align 'L' precision 1 expression proc_stat::cpu('busy',500) update 1000 } Widget BusyBar { class 'Bar' expression proc_stat::cpu('busy',500) length 16 min 0 max 100 direction 'E' style 'H' update 1000 } Widget FreeRAM { class 'Text' expression (meminfo('MemFree')+meminfo('Cached'))/1024 prefix 'FreeRAM ' postfix ' ' width 13 height 8 precision 0 align 'R' update 1000 } Widget TotalRAM { class 'Text' expression meminfo('MemTotal')/1024 prefix 'of ' postfix 'MB' width 8 height 8 precision 0 align 'R' update 1000 } Widget Disk { class 'Text' expression proc_stat::disk('.*','rblk',1000)+proc_stat::disk('.*','wblk',1000) prefix 'I/O' postfix 'tps' width 21 height 8 # length 21 precision 0 align 'L' update 1000 } Widget Eth0Stats { class 'Text' expression floor((netdev('eth0','Rx_bytes',1000)+netdev('eth0','Tx_bytes',1000))/1024) prefix 'eth0 ' postfix ' k/sec' width 21 # length 21 align 'R' update 1000 } Widget Time { class 'Text' expression strftime('%a,%d/%m %H:%M:%S',time()) width 21 height 8 # length 21 align 'C' update 1000 } Layout mylayout { Row01.Col01 'Uname' Row02.Col01 'IPaddress' Row03.Col01 'Time' Row04.Col01 'Uptime' Row05.Col01 'Busy' Row05.Col06 'BusyBar' Row06.Col01 'FreeRAM' Row06.Col14 'TotalRAM' Row08.Col01 'Eth0Stats' Row10.Col01 'Disk' } Display 'st2205u' #Display 'png' Layout 'mylayout'