Display dpf {
Driver 'DPF'
Port 'usb0'
Font '6x8'
Foreground 'ffffff'
Background '000000'
Basecolor '000000'
Orientation 3 # Orientation value from 0-3
Backlight 2 # Backlight variable control
}
Display Image {
Driver 'Image'
Format 'PNG'
Size '320x240'
Font '12x16'
Pixel '1+0'
Gap '0x0'
Foreground 'ffffff'
Background '000000'
Basecolor '000000'
}
Widget tytul {
class 'Text'
prefix 'Terminal: logread'
width 320
Background '007e80'
Foreground 'ffffff'
}
Widget line2 {
class 'Text'
expression exec ('/bin/busybox logread | tail -28 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line3 {
class 'Text'
expression exec ('/bin/busybox logread | tail -27 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line4 {
class 'Text'
expression exec ('/bin/busybox logread | tail -26 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line5 {
class 'Text'
expression exec ('/bin/busybox logread | tail -25 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line6 {
class 'Text'
expression exec ('/bin/busybox logread | tail -24 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line7 {
class 'Text'
expression exec ('/bin/busybox logread | tail -23 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line8 {
class 'Text'
expression exec ('/bin/busybox logread | tail -22 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line9 {
class 'Text'
expression exec ('/bin/busybox logread | tail -21 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line10 {
class 'Text'
expression exec ('/bin/busybox logread | tail -20 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line11 {
class 'Text'
expression exec ('/bin/busybox logread | tail -19 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line12 {
class 'Text'
expression exec ('/bin/busybox logread | tail -18 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line13 {
class 'Text'
expression exec ('/bin/busybox logread | tail -17 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line14 {
class 'Text'
expression exec ('/bin/busybox logread | tail -16 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line15 {
class 'Text'
expression exec ('/bin/busybox logread | tail -15 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line16 {
class 'Text'
expression exec ('/bin/busybox logread | tail -14 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line17 {
class 'Text'
expression exec ('/bin/busybox logread | tail -13 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line18 {
class 'Text'
expression exec ('/bin/busybox logread | tail -12 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line19 {
class 'Text'
expression exec ('/bin/busybox logread | tail -11 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line20 {
class 'Text'
expression exec ('/bin/busybox logread | tail -10 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line21 {
class 'Text'
expression exec ('/bin/busybox logread | tail -9 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line22 {
class 'Text'
expression exec ('/bin/busybox logread | tail -8 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line23 {
class 'Text'
expression exec ('/bin/busybox logread | tail -7 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line24 {
class 'Text'
expression exec ('/bin/busybox logread | tail -6 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line25 {
class 'Text'
expression exec ('/bin/busybox logread | tail -5 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line26 {
class 'Text'
expression exec ('/bin/busybox logread | tail -4 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line27 {
class 'Text'
expression exec ('/bin/busybox logread | tail -3 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line28 {
class 'Text'
expression exec ('/bin/busybox logread | tail -2 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Widget line29 {
class 'Text'
expression exec ('/bin/busybox logread | tail -1 | cut -d : -f 4- | cut -d ] -f 2-;',1000)
width 100
Foreground '007e80'
Background transparent
}
Layout MainLayout {
Row01.Col01 'tytul'
Row02.Col01 'line2'
Row03.Col01 'line3'
Row04.Col01 'line4'
Row05.Col01 'line5'
Row06.Col01 'line6'
Row07.Col01 'line7'
Row08.Col01 'line8'
Row09.Col01 'line9'
Row10.Col01 'line10'
Row11.Col01 'line11'
Row12.Col01 'line12'
Row13.Col01 'line13'
Row14.Col01 'line14'
Row15.Col01 'line15'
Row16.Col01 'line16'
Row17.Col01 'line17'
Row18.Col01 'line18'
Row19.Col01 'line19'
Row20.Col01 'line20'
Row21.Col01 'line21'
Row22.Col01 'line22'
Row23.Col01 'line23'
Row24.Col01 'line24'
Row25.Col01 'line25'
Row26.Col01 'line26'
Row27.Col01 'line27'
Row28.Col01 'line28'
Row29.Col01 'line29'
}
Display 'DPF'
#Display 'Image'
Layout 'MainLayout'
Variables {
tick 1000
tack 200
minute 60000
wifi 'wlan0'
hour 3600000
}