Display 'DPF' Layout 'RPi' Variables { t_onesec 1000 t_500m 500 tack 500 tick 100 tacku 100 scroller 300 time_minute 60000 time_second 1000 time_tack 500 time_tick 1000 time_faster 5 color_black '000000' color_white 'ffffff' color_red 'ff0000' color_red2 'ff0050' color_red1 'ff5e5e' color_green '00ff00' color_green1 '64ff64' color_blue '0000ff' color_blue0 '000066' color_blue1 '005aff' color_blue2 '99d9ea' color_yellow 'ffff00' color_purple 'ff00ff' color_cyan '00ffff' color_gray '323232' color_orange 'ff3200' color_transparent 'ffffff00' color_lighter 'ffffff80' color_darker '00000080' color_fg 'ffffff' color_bg '00000044' color_bar_fg 'ffffff' color_bar_bg '00000044' color_bar1 '5f5fff' color_bar2 'ff5f5f' width_full 27 width_half 15 } Display DPF { Driver 'DPF' Port 'usb0' # Font '8x12' Font '12x16' # Font '6x8' Foreground color_white # Background color_transparent Background color_black # Background color_white Basecolor color_black } Widget OS { class 'Text' expression uname('nodename') . ' ' . uname('release') . ' ' . uname('machine') width width_full align 'C' speed 100 update time_minute background color_green foreground color_black } Widget DATE_TIME { class 'Text' expression strftime('%a, %d.%m.%Y %H:%M:%S', time()) width width_full align 'C' update time_second background color_green foreground color_black } Widget UPTIME { class 'Text' # expression strftime('%a, %d.%m.%Y %H:%M:%S', time()) . ' | Up:' . uptime('%dd%H:%M:%S') expression 'Up: ' . uptime('%dd %H:%M:%S') width width_full # width 26 align 'C' update time_second background color_green foreground color_black } Widget RAM { class 'Text' expression (floor(meminfo('MemFree')*10/1024)/10).' / '.(floor(meminfo('MemTotal')*10/1024)/10) prefix 'Ram' postfix ' MB' # width width_half # width width_full width 26 #precision 0 align 'R' update time_second Background color_bg Foreground color_fg } Widget DF { class 'Text' expression statfs('/home', 'bavail')*statfs('/home', 'bsize')/1024/1024/1024 prefix '/home ' postfix ' GB free' precision 2 # width width_half # width width_full width 26 align 'R' update time_second Background color_bg Foreground color_fg } Widget Busy { class 'Text' expression proc_stat::cpu('busy', 500) prefix 'Busy' postfix '%' # width width_half # width width_full width 26 precision 1 align 'R' update time_second Background color_bg Foreground color_blue1 } Widget Busy_bar { class 'Bar' expression proc_stat::cpu('busy', 500) expression2 proc_stat::cpu('system', 500) length 20 min 0 max 100 foreground color_blue1 direction 'E' style 'H' barcolor0 color_blue1 barcolor1 color_blue1 update tack } Widget Load { class 'Text' expression loadavg(1) prefix 'Load' postfix loadavg(1)>1.0?'!':' ' # width width_half # width width_full width 26 precision 1 align 'R' update time_second Background color_bg Foreground color_red } Widget Load_bar { class 'Bar' expression loadavg(1) max 5.0 length 20 direction 'E' style 'H' update time_second * time_faster Background color_bar_bg Foreground color_red BarColor0 color_red BarColor1 color_red2 } Widget Disk { class 'Text' expression (diskstats('mmcblk0p2', 'read_sectors', 500) + diskstats('mmcblk0p2', 'write_sectors', 500)) / 2048 prefix 'SD card' postfix ' MB/s' width 26 precision 3 align 'R' update time_second Background color_bg Foreground color_orange } Widget Disk_bar { class 'Bar' expression diskstats('mmcblk0p2', 'read_sectors', 500) expression2 diskstats('mmcblk0p2', 'write_sectors', 500) length 20 direction 'E' style 'H' update time_second * time_faster Background color_bar_bg Foreground color_orange BarColor0 color_orange BarColor1 color_orange } Widget Eth0 { class 'Text' expression (netdev('eth0', 'Rx_bytes', 500)+netdev('eth0', 'Tx_bytes', 500))/1024/1024 prefix 'eth0' postfix ' MB/s' # width width_half # width width_full width 26 precision 3 align 'R' update time_second Background color_bg Foreground color_yellow } Widget Eth0_bar { class 'Bar' expression netdev('eth0', 'Rx_bytes', 500) expression2 netdev('eth0', 'Tx_bytes', 500) length 20 direction 'E' style 'H' update time_second * time_faster Background color_bar_bg Foreground color_yellow BarColor0 color_yellow BarColor1 color_yellow } Widget _bar { class 'Bar' expression proc_stat::cpu('busy', 500) length 24 min 0 max 100 foreground color_blue1 direction 'E' style 'H' update tack } Layout RPi { Row1 { Col1 'OS' } Row2 { Col1 'DATE_TIME' } Row3 { Col1 'UPTIME' } Row5 { Col1 'DF' } Row6 { Col1 'RAM' } Row7 { Col1 'Busy' } Row8 { Col1 'Busy_Bar' } Row9 { Col1 'Load' } Row10 { Col1 'Load_bar' } Row11 { Col1 'Disk' } Row12 { Col1 'Disk_bar' } Row13 { Col1 'Eth0' } Row14 { Col1 'Eth0_bar' } }