|
@ -1,7 +1,7 @@ |
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------------- # |
|
|
# --- PEARL Display (PX-1184, 320x240) -------------------------------------- # |
|
|
|
|
|
|
|
|
Display standard { |
|
|
Display Pearl_standard { |
|
|
driver 'DPF' |
|
|
driver 'DPF' |
|
|
port 'usb0' |
|
|
port 'usb0' |
|
|
font '16x34' |
|
|
font '16x34' |
|
@ -9,10 +9,10 @@ Display standard { |
|
|
basecolor '000000' |
|
|
basecolor '000000' |
|
|
foreground 'ffffff' |
|
|
foreground 'ffffff' |
|
|
background '00000000' |
|
|
background '00000000' |
|
|
backlight 7 |
|
|
backlight file::readline('/tmp/lcd/brightness', 1) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Display radio { |
|
|
Display Pearl_radio { |
|
|
driver 'DPF' |
|
|
driver 'DPF' |
|
|
port 'usb0' |
|
|
port 'usb0' |
|
|
font '16x34' |
|
|
font '16x34' |
|
@ -20,10 +20,10 @@ Display radio { |
|
|
basecolor '000000' |
|
|
basecolor '000000' |
|
|
foreground 'ffffff' |
|
|
foreground 'ffffff' |
|
|
background '00000000' |
|
|
background '00000000' |
|
|
backlight 7 |
|
|
backlight file::readline('/tmp/lcd/brightness', 1) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Display large { |
|
|
Display Pearl_large { |
|
|
driver 'DPF' |
|
|
driver 'DPF' |
|
|
port 'usb0' |
|
|
port 'usb0' |
|
|
font '20x48' |
|
|
font '20x48' |
|
@ -31,10 +31,10 @@ Display large { |
|
|
basecolor '000000' |
|
|
basecolor '000000' |
|
|
foreground 'ffffff' |
|
|
foreground 'ffffff' |
|
|
background '00000000' |
|
|
background '00000000' |
|
|
backlight 7 |
|
|
backlight file::readline('/tmp/lcd/brightness', 1) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Display small { |
|
|
Display Pearl_small { |
|
|
driver 'DPF' |
|
|
driver 'DPF' |
|
|
port 'usb0' |
|
|
port 'usb0' |
|
|
font '10x16' |
|
|
font '10x16' |
|
@ -42,10 +42,10 @@ Display small { |
|
|
basecolor '000000' |
|
|
basecolor '000000' |
|
|
foreground 'ffffff' |
|
|
foreground 'ffffff' |
|
|
background '00000000' |
|
|
background '00000000' |
|
|
backlight 7 |
|
|
backlight file::readline('/tmp/lcd/brightness', 1) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Display d-box2 { |
|
|
Display Pearl_d-box2 { |
|
|
driver 'DPF' |
|
|
driver 'DPF' |
|
|
port 'usb0' |
|
|
port 'usb0' |
|
|
font '16x34' |
|
|
font '16x34' |
|
@ -53,10 +53,10 @@ Display d-box2 { |
|
|
basecolor DBOX2COL |
|
|
basecolor DBOX2COL |
|
|
foreground DBOX2COL |
|
|
foreground DBOX2COL |
|
|
background '00000000' |
|
|
background '00000000' |
|
|
backlight 7 |
|
|
backlight file::readline('/tmp/lcd/brightness', 1) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Display standby { |
|
|
Display Pearl_standby { |
|
|
driver 'DPF' |
|
|
driver 'DPF' |
|
|
port 'usb0' |
|
|
port 'usb0' |
|
|
font '16x30' |
|
|
font '16x30' |
|
@ -64,14 +64,12 @@ Display standby { |
|
|
basecolor '000000' |
|
|
basecolor '000000' |
|
|
foreground 'ffffff' |
|
|
foreground 'ffffff' |
|
|
background '00000000' |
|
|
background '00000000' |
|
|
backlight 3 |
|
|
backlight file::readline('/tmp/lcd/brightness_standby', 1) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------------- # |
|
|
# --- general widgets (partly postfixed with _layout) ----------------------- # |
|
|
|
|
|
|
|
|
# --- general widgets (partly postfixed with _layout) --- # |
|
|
|
|
|
|
|
|
|
|
|
Widget LOGO { |
|
|
Widget Pearl_LOGO { |
|
|
class 'Image' |
|
|
class 'Image' |
|
|
file file::exist('/tmp/lcd/menu') == 1 ? ICONS . 'menu.png' : file::readline('/tmp/lcd/logo', 1) |
|
|
file file::exist('/tmp/lcd/menu') == 1 ? ICONS . 'menu.png' : file::readline('/tmp/lcd/logo', 1) |
|
|
update 3300 |
|
|
update 3300 |
|
@ -83,7 +81,7 @@ Widget LOGO { |
|
|
height 55 |
|
|
height 55 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget SERVICE { |
|
|
Widget Pearl_SERVICE { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) |
|
|
align 'PC' |
|
|
align 'PC' |
|
@ -91,7 +89,7 @@ Widget SERVICE { |
|
|
update 3300 |
|
|
update 3300 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget SERVICE_large { |
|
|
Widget Pearl_SERVICE_large { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) |
|
|
align 'PC' |
|
|
align 'PC' |
|
@ -99,7 +97,7 @@ Widget SERVICE_large { |
|
|
update 3300 |
|
|
update 3300 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget SERVICE_small { |
|
|
Widget Pearl_SERVICE_small { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) |
|
|
align 'PC' |
|
|
align 'PC' |
|
@ -107,7 +105,7 @@ Widget SERVICE_small { |
|
|
update 3300 |
|
|
update 3300 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget SERVICE_d-box2 { |
|
|
Widget Pearl_SERVICE_d-box2 { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
#expression file::readline('/tmp/lcd/service', 1) |
|
|
#expression file::readline('/tmp/lcd/service', 1) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? '' : (file::readline('/tmp/lcd/mode_logo', 1) == 1 ? '' : file::readline('/tmp/lcd/service', 1)) |
|
@ -116,7 +114,7 @@ Widget SERVICE_d-box2 { |
|
|
update 3300 |
|
|
update 3300 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget EVENT { |
|
|
Widget Pearl_EVENT { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) |
|
|
align 'PC' |
|
|
align 'PC' |
|
@ -126,7 +124,7 @@ Widget EVENT { |
|
|
foreground 'fd6d13' |
|
|
foreground 'fd6d13' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget EVENT_large { |
|
|
Widget Pearl_EVENT_large { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) |
|
|
align 'PC' |
|
|
align 'PC' |
|
@ -136,7 +134,7 @@ Widget EVENT_large { |
|
|
foreground 'fd6d13' |
|
|
foreground 'fd6d13' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget EVENT_small { |
|
|
Widget Pearl_EVENT_small { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) |
|
|
align 'PC' |
|
|
align 'PC' |
|
@ -146,7 +144,7 @@ Widget EVENT_small { |
|
|
foreground 'fd6d13' |
|
|
foreground 'fd6d13' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget EVENT_d-box2 { |
|
|
Widget Pearl_EVENT_d-box2 { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? file::readline('/tmp/lcd/menu', 1) : file::readline('/tmp/lcd/event', 1) |
|
|
align 'PC' |
|
|
align 'PC' |
|
@ -155,7 +153,7 @@ Widget EVENT_d-box2 { |
|
|
speed 325 |
|
|
speed 325 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget PROGRESS { |
|
|
Widget Pearl_PROGRESS { |
|
|
class 'Bar' |
|
|
class 'Bar' |
|
|
expression 0 |
|
|
expression 0 |
|
|
expression2 file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1) |
|
|
expression2 file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1) |
|
@ -167,7 +165,7 @@ Widget PROGRESS { |
|
|
barcolor0 '00000000' |
|
|
barcolor0 '00000000' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget PROGRESS_large { |
|
|
Widget Pearl_PROGRESS_large { |
|
|
class 'Bar' |
|
|
class 'Bar' |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1) |
|
|
min 0 |
|
|
min 0 |
|
@ -177,7 +175,7 @@ Widget PROGRESS_large { |
|
|
foreground '000000aa' |
|
|
foreground '000000aa' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget PROGRESS_small { |
|
|
Widget Pearl_PROGRESS_small { |
|
|
class 'Bar' |
|
|
class 'Bar' |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1) |
|
|
min 0 |
|
|
min 0 |
|
@ -187,7 +185,7 @@ Widget PROGRESS_small { |
|
|
foreground 'fd6d13aa' |
|
|
foreground 'fd6d13aa' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget PROGRESS_d-box2 { |
|
|
Widget Pearl_PROGRESS_d-box2 { |
|
|
class 'Bar' |
|
|
class 'Bar' |
|
|
expression 0 |
|
|
expression 0 |
|
|
expression2 file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1) |
|
|
expression2 file::exist('/tmp/lcd/menu') == 1 ? 0 : file::readline('/tmp/lcd/progress', 1) |
|
@ -198,7 +196,7 @@ Widget PROGRESS_d-box2 { |
|
|
barcolor0 '00000000' |
|
|
barcolor0 '00000000' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget DURATION { |
|
|
Widget Pearl_DURATION { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/duration', 1) |
|
|
expression file::exist('/tmp/lcd/menu') == 1 ? '' : file::readline('/tmp/lcd/duration', 1) |
|
|
align 'R' |
|
|
align 'R' |
|
@ -207,7 +205,7 @@ Widget DURATION { |
|
|
foreground 'fd6d13' |
|
|
foreground 'fd6d13' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget VOLUME_d-box2 { |
|
|
Widget Pearl_VOLUME_d-box2 { |
|
|
class 'Bar' |
|
|
class 'Bar' |
|
|
expression file::readline('/tmp/lcd/volume', 1) |
|
|
expression file::readline('/tmp/lcd/volume', 1) |
|
|
expression2 0 |
|
|
expression2 0 |
|
@ -218,7 +216,7 @@ Widget VOLUME_d-box2 { |
|
|
barcolor1 '00000000' |
|
|
barcolor1 '00000000' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget TIME { |
|
|
Widget Pearl_TIME { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
expression strftime('%H:%M', time()) |
|
|
expression strftime('%H:%M', time()) |
|
|
align 'L' |
|
|
align 'L' |
|
@ -227,7 +225,7 @@ Widget TIME { |
|
|
foreground '9E9E9E' |
|
|
foreground '9E9E9E' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget TIME_d-box2 { |
|
|
Widget Pearl_TIME_d-box2 { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
expression strftime('%H:%M', time()) |
|
|
expression strftime('%H:%M', time()) |
|
|
align 'L' |
|
|
align 'L' |
|
@ -235,9 +233,9 @@ Widget TIME_d-box2 { |
|
|
update 5000 |
|
|
update 5000 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# --- system-info --- # |
|
|
# --- system-info ----------------------------------------------------------- # |
|
|
|
|
|
|
|
|
Widget CPU { |
|
|
Widget Pearl_CPU { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
prefix 'CPU: ' |
|
|
prefix 'CPU: ' |
|
|
expression proc_stat::cpu('busy', 500) |
|
|
expression proc_stat::cpu('busy', 500) |
|
@ -249,7 +247,7 @@ Widget CPU { |
|
|
foreground '9E9E9E' |
|
|
foreground '9E9E9E' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget CPU_BAR { |
|
|
Widget Pearl_CPU_BAR { |
|
|
class 'Bar' |
|
|
class 'Bar' |
|
|
expression proc_stat::cpu('busy', 500) |
|
|
expression proc_stat::cpu('busy', 500) |
|
|
min 0 |
|
|
min 0 |
|
@ -260,7 +258,7 @@ Widget CPU_BAR { |
|
|
foreground '9E9E9E' |
|
|
foreground '9E9E9E' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget RAM { |
|
|
Widget Pearl_RAM { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
prefix 'RAM: ' |
|
|
prefix 'RAM: ' |
|
|
expression 100 - ((meminfo('MemFree') * 100) / meminfo('MemTotal')) |
|
|
expression 100 - ((meminfo('MemFree') * 100) / meminfo('MemTotal')) |
|
@ -272,7 +270,7 @@ Widget RAM { |
|
|
foreground '9E9E9E' |
|
|
foreground '9E9E9E' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget MTD { |
|
|
Widget Pearl_MTD { |
|
|
class 'Text' |
|
|
class 'Text' |
|
|
prefix 'MTD: ' |
|
|
prefix 'MTD: ' |
|
|
expression 100 - (statfs('/', 'bfree') * 100) / statfs('/', 'blocks') |
|
|
expression 100 - (statfs('/', 'bfree') * 100) / statfs('/', 'blocks') |
|
@ -284,135 +282,135 @@ Widget MTD { |
|
|
foreground '9E9E9E' |
|
|
foreground '9E9E9E' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# --- general mode-icons --- # |
|
|
# --- general mode-icons ---------------------------------------------------- # |
|
|
|
|
|
|
|
|
Widget ICON_ECM { |
|
|
Widget Pearl_ICON_ECM { |
|
|
class 'Image' |
|
|
class 'Image' |
|
|
file ICONS . 'mode/ecm_' . file::readline('/tmp/lcd/mode_ecm', 1) . '.png' |
|
|
file ICONS . 'mode/ecm_' . file::readline('/tmp/lcd/mode_ecm', 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget ICON_TIMER { |
|
|
Widget Pearl_ICON_TIMER { |
|
|
class 'Image' |
|
|
class 'Image' |
|
|
file ICONS . 'mode/timer_' . file::readline('/tmp/lcd/mode_timer', 1) . '.png' |
|
|
file ICONS . 'mode/timer_' . file::readline('/tmp/lcd/mode_timer', 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget ICON_REC { |
|
|
Widget Pearl_ICON_REC { |
|
|
class 'Image' |
|
|
class 'Image' |
|
|
file ICONS . 'mode/rec_' . file::readline('/tmp/lcd/mode_rec', 1) . '.png' |
|
|
file ICONS . 'mode/rec_' . file::readline('/tmp/lcd/mode_rec', 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget ICON_TS { |
|
|
Widget Pearl_ICON_TS { |
|
|
class 'Image' |
|
|
class 'Image' |
|
|
file ICONS . 'mode/ts_' . file::readline('/tmp/lcd/mode_tshift', 1) . '.png' |
|
|
file ICONS . 'mode/ts_' . file::readline('/tmp/lcd/mode_tshift', 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# --- d-box2 mode-icons --- # |
|
|
# --- d-box2 mode-icons ----------------------------------------------------- # |
|
|
|
|
|
|
|
|
Widget ICON_ECM_d-box2 { |
|
|
Widget Pearl_ICON_ECM_d-box2 { |
|
|
class 'Image' |
|
|
class 'Image' |
|
|
file ICONS . 'mode/d-box2/ecm_' . file::readline('/tmp/lcd/mode_ecm', 1) . '.png' |
|
|
file ICONS . 'mode/d-box2/ecm_' . file::readline('/tmp/lcd/mode_ecm', 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget ICON_TIMER_d-box2 { |
|
|
Widget Pearl_ICON_TIMER_d-box2 { |
|
|
class 'Image' |
|
|
class 'Image' |
|
|
file ICONS . 'mode/d-box2/timer_' . file::readline('/tmp/lcd/mode_timer', 1) . '.png' |
|
|
file ICONS . 'mode/d-box2/timer_' . file::readline('/tmp/lcd/mode_timer', 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget ICON_REC_d-box2 { |
|
|
Widget Pearl_ICON_REC_d-box2 { |
|
|
class 'Image' |
|
|
class 'Image' |
|
|
file ICONS . 'mode/d-box2/rec_' . file::readline('/tmp/lcd/mode_rec', 1) . '.png' |
|
|
file ICONS . 'mode/d-box2/rec_' . file::readline('/tmp/lcd/mode_rec', 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget ICON_TS_d-box2 { |
|
|
Widget Pearl_ICON_TS_d-box2 { |
|
|
class 'Image' |
|
|
class 'Image' |
|
|
file ICONS . 'mode/d-box2/ts_' . file::readline('/tmp/lcd/mode_tshift', 1) . '.png' |
|
|
file ICONS . 'mode/d-box2/ts_' . file::readline('/tmp/lcd/mode_tshift', 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# --- the background --- # |
|
|
# --- the background -------------------------------------------------------- # |
|
|
|
|
|
|
|
|
Widget BACKGROUND { |
|
|
Widget Pearl_BACKGROUND { |
|
|
class 'Image' |
|
|
class 'Image' |
|
|
file ICONS . 'background/' . file::readline('/tmp/lcd/layout', 1) . '.png' |
|
|
file ICONS . 'background/' . file::readline('/tmp/lcd/layout', 1) . '.png' |
|
|
update 0 |
|
|
update 0 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# --- the clocks for standby-mode --- # |
|
|
# --- the clocks for standby-mode ------------------------------------------- # |
|
|
|
|
|
|
|
|
# --- the digital clock --- # |
|
|
# --- the digital clock ----------------------------------------------------- # |
|
|
|
|
|
|
|
|
Widget HOUR1_ { |
|
|
Widget Pearl_HOUR1_ { |
|
|
class 'image' |
|
|
class 'image' |
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%H', time()), 0, 1) . '.png' |
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%H', time()), 0, 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget HOUR_1 { |
|
|
Widget Pearl_HOUR_1 { |
|
|
class 'image' |
|
|
class 'image' |
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%H', time()), 1) . '.png' |
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%H', time()), 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget DP { |
|
|
Widget Pearl_DP { |
|
|
class 'Image' |
|
|
class 'Image' |
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/dp.png' |
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/dp.png' |
|
|
update 0 |
|
|
update 0 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget MIN1_ { |
|
|
Widget Pearl_MIN1_ { |
|
|
class 'image' |
|
|
class 'image' |
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%M', time()), 0, 1) . '.png' |
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%M', time()), 0, 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget MIN_1 { |
|
|
Widget Pearl_MIN_1 { |
|
|
class 'image' |
|
|
class 'image' |
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%M', time()), 1) . '.png' |
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%M', time()), 1) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# --- the analog clock --- # |
|
|
# --- the analog clock ------------------------------------------------------ # |
|
|
|
|
|
|
|
|
Widget DIAL_A { |
|
|
Widget Pearl_DIAL_A { |
|
|
class 'image' |
|
|
class 'image' |
|
|
file file::exist(FCLOCK) == 0 ? ICONS . 'blank.png' : ICONS . 'clock/analog/dial.png' |
|
|
file file::exist(FCLOCK) == 0 ? ICONS . 'blank.png' : ICONS . 'clock/analog/dial.png' |
|
|
update 0 |
|
|
update 0 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget HOUR_A { |
|
|
Widget Pearl_HOUR_A { |
|
|
class 'image' |
|
|
class 'image' |
|
|
file file::exist(FCLOCK) == 0 ? ICONS . 'blank.png' : ICONS . 'clock/analog/h' . ( ( (strftime('%I', time()) == 12 ? 0 : strftime('%I', time())) *5) + substr((strftime('%M', time()) / 12), 0, 1) ). '.png' |
|
|
file file::exist(FCLOCK) == 0 ? ICONS . 'blank.png' : ICONS . 'clock/analog/h' . ( ( (strftime('%I', time()) == 12 ? 0 : strftime('%I', time())) *5) + substr((strftime('%M', time()) / 12), 0, 1) ). '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Widget MIN_A { |
|
|
Widget Pearl_MIN_A { |
|
|
class 'image' |
|
|
class 'image' |
|
|
file file::exist(FCLOCK) == 0 ? ICONS . 'blank.png' : ICONS . 'clock/analog/m' . strftime('%M', time()) . '.png' |
|
|
file file::exist(FCLOCK) == 0 ? ICONS . 'blank.png' : ICONS . 'clock/analog/m' . strftime('%M', time()) . '.png' |
|
|
update 10000 |
|
|
update 10000 |
|
|
reload 1 |
|
|
reload 1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# --- the weather --- # |
|
|
# --- the weather ----------------------------------------------------------- # |
|
|
|
|
|
|
|
|
Widget EXEC_WEATHER-SCRIPT { |
|
|
Widget EXEC_WEATHER-SCRIPT { |
|
|
class 'Text' |
|
|
class 'Text' |
|
@ -459,141 +457,141 @@ Widget TEMPERATURE_LATER { |
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------------- # |
|
|
# --------------------------------------------------------------------------- # |
|
|
|
|
|
|
|
|
Layout standard { |
|
|
Layout Pearl_standard { |
|
|
layer 0 { |
|
|
layer 0 { |
|
|
row02.col01 'SERVICE' |
|
|
row02.col01 'Pearl_SERVICE' |
|
|
row04.col01 'EVENT' |
|
|
row04.col01 'Pearl_EVENT' |
|
|
row05.col02 'PROGRESS' |
|
|
row05.col02 'Pearl_PROGRESS' |
|
|
row07 { |
|
|
row07 { |
|
|
col07 'DURATION' |
|
|
col07 'Pearl_DURATION' |
|
|
col02 'TIME' |
|
|
col02 'Pearl_TIME' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 1 { |
|
|
layer 1 { |
|
|
x008.y073 'ICON_ECM' |
|
|
x008.y073 'Pearl_ICON_ECM' |
|
|
x008.y217 'ICON_TIMER' |
|
|
x008.y217 'Pearl_ICON_TIMER' |
|
|
x008.y258 'ICON_REC' |
|
|
x008.y258 'Pearl_ICON_REC' |
|
|
x008.y289 'ICON_TS' |
|
|
x008.y289 'Pearl_ICON_TS' |
|
|
|
|
|
|
|
|
x021.y001 'LOGO' |
|
|
x021.y001 'Pearl_LOGO' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 2 { |
|
|
layer 2 { |
|
|
x001.y001 'BACKGROUND' |
|
|
x001.y001 'Pearl_BACKGROUND' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Layout radio { |
|
|
Layout Pearl_radio { |
|
|
layer 0 { |
|
|
layer 0 { |
|
|
row02.col01 'SERVICE' |
|
|
row02.col01 'Pearl_SERVICE' |
|
|
row04.col01 'EVENT' |
|
|
row04.col01 'Pearl_EVENT' |
|
|
row05.col02 'PROGRESS' |
|
|
row05.col02 'Pearl_PROGRESS' |
|
|
row07 { |
|
|
row07 { |
|
|
col07 'DURATION' |
|
|
col07 'Pearl_DURATION' |
|
|
col02 'TIME' |
|
|
col02 'Pearl_TIME' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 1 { |
|
|
layer 1 { |
|
|
x008.y073 'ICON_ECM' |
|
|
x008.y073 'Pearl_ICON_ECM' |
|
|
x008.y217 'ICON_TIMER' |
|
|
x008.y217 'Pearl_ICON_TIMER' |
|
|
x008.y258 'ICON_REC' |
|
|
x008.y258 'Pearl_ICON_REC' |
|
|
x008.y289 'ICON_TS' |
|
|
x008.y289 'Pearl_ICON_TS' |
|
|
|
|
|
|
|
|
x021.y001 'LOGO' |
|
|
x021.y001 'Pearl_LOGO' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 2 { |
|
|
layer 2 { |
|
|
x001.y001 'BACKGROUND' |
|
|
x001.y001 'Pearl_BACKGROUND' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Layout large { |
|
|
Layout Pearl_large { |
|
|
layer 0 { |
|
|
layer 0 { |
|
|
row02.col01 'SERVICE_large' |
|
|
row02.col01 'Pearl_SERVICE_large' |
|
|
row04.col01 'EVENT_large' |
|
|
row04.col01 'Pearl_EVENT_large' |
|
|
row05.col02 'PROGRESS_large' |
|
|
row05.col02 'Pearl_PROGRESS_large' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 1 { |
|
|
layer 1 { |
|
|
x008.y073 'ICON_ECM' |
|
|
x008.y073 'Pearl_ICON_ECM' |
|
|
x008.y217 'ICON_TIMER' |
|
|
x008.y217 'Pearl_ICON_TIMER' |
|
|
x008.y258 'ICON_REC' |
|
|
x008.y258 'Pearl_ICON_REC' |
|
|
x008.y289 'ICON_TS' |
|
|
x008.y289 'Pearl_ICON_TS' |
|
|
|
|
|
|
|
|
x044.y001 'LOGO' |
|
|
x044.y001 'Pearl_LOGO' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 2 { |
|
|
layer 2 { |
|
|
x001.y001 'BACKGROUND' |
|
|
x001.y001 'Pearl_BACKGROUND' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Layout small { |
|
|
Layout Pearl_small { |
|
|
layer 0 { |
|
|
layer 0 { |
|
|
row04.col01 'SERVICE_small' |
|
|
row04.col01 'Pearl_SERVICE_small' |
|
|
row06.col01 'EVENT_small' |
|
|
row06.col01 'Pearl_EVENT_small' |
|
|
row08.col02 'PROGRESS_small' |
|
|
row08.col02 'Pearl_PROGRESS_small' |
|
|
row12 { |
|
|
row12 { |
|
|
col02 'CPU' |
|
|
col02 'Pearl_CPU' |
|
|
col15 'CPU_BAR' |
|
|
col15 'Pearl_CPU_BAR' |
|
|
} |
|
|
} |
|
|
row13.col02 'RAM' |
|
|
row13.col02 'Pearl_RAM' |
|
|
row14 { |
|
|
row14 { |
|
|
col02 'MTD' |
|
|
col02 'Pearl_MTD' |
|
|
col27 'TIME' |
|
|
col27 'Pearl_TIME' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 1 { |
|
|
layer 1 { |
|
|
x008.y073 'ICON_ECM' |
|
|
x008.y073 'Pearl_ICON_ECM' |
|
|
x008.y217 'ICON_TIMER' |
|
|
x008.y217 'Pearl_ICON_TIMER' |
|
|
x008.y258 'ICON_REC' |
|
|
x008.y258 'Pearl_ICON_REC' |
|
|
x008.y289 'ICON_TS' |
|
|
x008.y289 'Pearl_ICON_TS' |
|
|
|
|
|
|
|
|
x021.y001 'LOGO' |
|
|
x021.y001 'Pearl_LOGO' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 2 { |
|
|
layer 2 { |
|
|
x001.y001 'BACKGROUND' |
|
|
x001.y001 'Pearl_BACKGROUND' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Layout d-box2 { |
|
|
Layout Pearl_d-box2 { |
|
|
layer 0 { |
|
|
layer 0 { |
|
|
row01.col04 'PROGRESS_d-box2' |
|
|
row01.col04 'Pearl_PROGRESS_d-box2' |
|
|
row03.col01 'SERVICE_d-box2' |
|
|
row03.col01 'Pearl_SERVICE_d-box2' |
|
|
row05.col01 'EVENT_d-box2' |
|
|
row05.col01 'Pearl_EVENT_d-box2' |
|
|
row07 { |
|
|
row07 { |
|
|
col04 'VOLUME_d-box2' |
|
|
col04 'Pearl_VOLUME_d-box2' |
|
|
col15 'TIME_d-box2' |
|
|
col15 'Pearl_TIME_d-box2' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 1 { |
|
|
layer 1 { |
|
|
x045.y073 'ICON_ECM_d-box2' |
|
|
x045.y073 'Pearl_ICON_ECM_d-box2' |
|
|
x045.y217 'ICON_TIMER_d-box2' |
|
|
x045.y217 'Pearl_ICON_TIMER_d-box2' |
|
|
x045.y258 'ICON_REC_d-box2' |
|
|
x045.y258 'Pearl_ICON_REC_d-box2' |
|
|
x045.y289 'ICON_TS_d-box2' |
|
|
x045.y289 'Pearl_ICON_TS_d-box2' |
|
|
|
|
|
|
|
|
x060.y001 'LOGO' |
|
|
x060.y001 'Pearl_LOGO' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 2 { |
|
|
layer 2 { |
|
|
x001.y001 'BACKGROUND' |
|
|
x001.y001 'Pearl_BACKGROUND' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Layout standby { |
|
|
Layout Pearl_standby { |
|
|
layer 0 { |
|
|
layer 0 { |
|
|
x020.y085 'MIN_A' |
|
|
x020.y085 'Pearl_MIN_A' |
|
|
|
|
|
|
|
|
X034.Y025 'HOUR1_' |
|
|
X034.Y025 'Pearl_HOUR1_' |
|
|
X034.Y085 'HOUR_1' |
|
|
X034.Y085 'Pearl_HOUR_1' |
|
|
X034.Y145 'DP' |
|
|
X034.Y145 'Pearl_DP' |
|
|
X034.Y175 'MIN1_' |
|
|
X034.Y175 'Pearl_MIN1_' |
|
|
X034.Y235 'MIN_1' |
|
|
X034.Y235 'Pearl_MIN_1' |
|
|
|
|
|
|
|
|
row01.col1 'EXEC_WEATHER-SCRIPT' |
|
|
row01.col1 'EXEC_WEATHER-SCRIPT' |
|
|
x225.y132 'ICON_WEATHER' |
|
|
x225.y132 'ICON_WEATHER' |
|
@ -604,25 +602,373 @@ Layout standby { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 1 { |
|
|
layer 1 { |
|
|
x020.y085 'HOUR_A' |
|
|
x020.y085 'Pearl_HOUR_A' |
|
|
|
|
|
|
|
|
x008.y073 'ICON_ECM' |
|
|
x008.y073 'Pearl_ICON_ECM' |
|
|
x008.y217 'ICON_TIMER' |
|
|
x008.y217 'Pearl_ICON_TIMER' |
|
|
x008.y258 'ICON_REC' |
|
|
x008.y258 'Pearl_ICON_REC' |
|
|
x008.y289 'ICON_TS' |
|
|
x008.y289 'Pearl_ICON_TS' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
layer 2 { |
|
|
layer 2 { |
|
|
x020.y000 'DIAL_A' |
|
|
x020.y000 'Pearl_DIAL_A' |
|
|
|
|
|
|
|
|
|
|
|
x001.y001 'Pearl_BACKGROUND' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# --- SAMSUNG SPF-87H (800x480) --------------------------------------------- # |
|
|
|
|
|
|
|
|
|
|
|
Display Samsung_standard { |
|
|
|
|
|
driver 'SamsungSPF' |
|
|
|
|
|
model 'SPF-AUTO' |
|
|
|
|
|
port 'usb0' |
|
|
|
|
|
font '20x40' |
|
|
|
|
|
size '800x480' |
|
|
|
|
|
basecolor 'dddddd' |
|
|
|
|
|
foreground 'ffffff' |
|
|
|
|
|
background '00000000' |
|
|
|
|
|
orientation 1 |
|
|
|
|
|
backlight 7 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Display Samsung_radio { |
|
|
|
|
|
driver 'SamsungSPF' |
|
|
|
|
|
model 'SPF-AUTO' |
|
|
|
|
|
port 'usb0' |
|
|
|
|
|
font '20x40' |
|
|
|
|
|
size '800x480' |
|
|
|
|
|
basecolor 'dddddd' |
|
|
|
|
|
foreground 'ffffff' |
|
|
|
|
|
background '00000000' |
|
|
|
|
|
orientation 1 |
|
|
|
|
|
backlight 7 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Display Samsung_standby { |
|
|
|
|
|
driver 'SamsungSPF' |
|
|
|
|
|
model 'SPF-AUTO' |
|
|
|
|
|
port 'usb0' |
|
|
|
|
|
font '20x40' |
|
|
|
|
|
size '800x480' |
|
|
|
|
|
basecolor '000000' |
|
|
|
|
|
foreground 'ffffff' |
|
|
|
|
|
background '00000000' |
|
|
|
|
|
orientation 1 |
|
|
|
|
|
backlight 3 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------------- # |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_STANDBY { |
|
|
|
|
|
class 'Image' |
|
|
|
|
|
file ICONS . '1x1_black.png' |
|
|
|
|
|
reload 0 |
|
|
|
|
|
update 0 |
|
|
|
|
|
inverted 0 |
|
|
|
|
|
width 1600 |
|
|
|
|
|
height 960 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_BACKGROUND { |
|
|
|
|
|
class 'Image' |
|
|
|
|
|
file ICONS . '1x1_black.png' |
|
|
|
|
|
reload 0 |
|
|
|
|
|
inverted 0 |
|
|
|
|
|
width 1600 |
|
|
|
|
|
height 960 |
|
|
|
|
|
update 10000 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_TUNER { |
|
|
|
|
|
class 'Image' |
|
|
|
|
|
file SYSICONS . 'tuner_' . file::readline('/tmp/lcd/tuner', 1) .'.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
inverted 0 |
|
|
|
|
|
scale 225 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_REC { |
|
|
|
|
|
class 'Image' |
|
|
|
|
|
file file::readline('/tmp/lcd/mode_rec_icon', 1) |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
inverted 0 |
|
|
|
|
|
scale 225 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_ECM { |
|
|
|
|
|
class 'Image' |
|
|
|
|
|
file strstr(file::readline('/tmp/lcd/mode_ecm', 1), 'on') == 0 ? ICONS . 'crypted.png' : ICONS . 'open.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
scale 50 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_LOGO { |
|
|
|
|
|
class 'Image' |
|
|
|
|
|
file file::readline('/tmp/lcd/logo', 1) |
|
|
|
|
|
update 5000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
inverted 0 |
|
|
|
|
|
scale 250 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_START { |
|
|
|
|
|
class 'Truetype' |
|
|
|
|
|
font file::readline('/tmp/lcd/font', 1) |
|
|
|
|
|
fcolor file::readline('/tmp/lcd/fgcolor', 1) |
|
|
|
|
|
size 0 |
|
|
|
|
|
width 130 |
|
|
|
|
|
height 40 |
|
|
|
|
|
align 'L' |
|
|
|
|
|
expression file::readline('/tmp/lcd/start', 1) |
|
|
|
|
|
update 5000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_END { |
|
|
|
|
|
class 'Truetype' |
|
|
|
|
|
font file::readline('/tmp/lcd/font', 1) |
|
|
|
|
|
fcolor file::readline('/tmp/lcd/fgcolor', 1) |
|
|
|
|
|
size 0 |
|
|
|
|
|
height 40 |
|
|
|
|
|
width 130 |
|
|
|
|
|
align 'R' |
|
|
|
|
|
expression file::readline('/tmp/lcd/end', 1) |
|
|
|
|
|
update 5000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_TTF-CHANNEL { |
|
|
|
|
|
class 'Truetype' |
|
|
|
|
|
expression file::readline('/tmp/lcd/service', 1) |
|
|
|
|
|
font file::readline('/tmp/lcd/font', 1) |
|
|
|
|
|
fcolor file::readline('/tmp/lcd/fgcolor', 1) |
|
|
|
|
|
update 5000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
inverted 0 |
|
|
|
|
|
size 0 |
|
|
|
|
|
width 770 |
|
|
|
|
|
height 40 |
|
|
|
|
|
align 'M' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_TTF-EPG-NOW { |
|
|
|
|
|
class 'Truetype' |
|
|
|
|
|
expression file::readline('/tmp/lcd/event', 1) |
|
|
|
|
|
font file::readline('/tmp/lcd/font', 1) |
|
|
|
|
|
fcolor file::readline('/tmp/lcd/fgcolor', 1) |
|
|
|
|
|
update 5000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
inverted 0 |
|
|
|
|
|
size 0 |
|
|
|
|
|
width 770 |
|
|
|
|
|
height 80 |
|
|
|
|
|
align 'M' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_TTF-EPG-NEXT { |
|
|
|
|
|
class 'Truetype' |
|
|
|
|
|
expression file::readline('/tmp/lcd/event', 2) |
|
|
|
|
|
font file::readline('/tmp/lcd/font', 1) |
|
|
|
|
|
fcolor file::readline('/tmp/lcd/fgcolor', 1) |
|
|
|
|
|
update 5000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
inverted 0 |
|
|
|
|
|
size 0 |
|
|
|
|
|
width 770 |
|
|
|
|
|
height 40 |
|
|
|
|
|
align 'M' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_EPGBAR { |
|
|
|
|
|
class 'Bar' |
|
|
|
|
|
expression file::readline('/tmp/lcd/progress', 1) |
|
|
|
|
|
min 0 |
|
|
|
|
|
max 100 |
|
|
|
|
|
length 26 |
|
|
|
|
|
background '000000' |
|
|
|
|
|
foreground '0000dd' |
|
|
|
|
|
style 'H' |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# --- the analog clock ------------------------------------------------------ # |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_DIAL_A { |
|
|
|
|
|
class 'image' |
|
|
|
|
|
file file::exist(FCLOCK) == 0 ? ICONS . 'blank.png' : ICONS . 'clock/analog/dial.png' |
|
|
|
|
|
update 0 |
|
|
|
|
|
scale 300 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_HOUR_A { |
|
|
|
|
|
class 'image' |
|
|
|
|
|
file file::exist(FCLOCK) == 0 ? ICONS . 'blank.png' : ICONS . 'clock/analog/h' . ( ( (strftime('%I', time()) == 12 ? 0 : strftime('%I', time())) *5) + substr((strftime('%M', time()) / 12), 0, 1) ). '.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
scale 290 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_MIN_A { |
|
|
|
|
|
class 'image' |
|
|
|
|
|
file file::exist(FCLOCK) == 0 ? ICONS . 'blank.png' : ICONS . 'clock/analog/m' . strftime('%M', time()) . '.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
scale 290 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# --- the digital clock ----------------------------------------------------- # |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_HOUR1_ { |
|
|
|
|
|
class 'image' |
|
|
|
|
|
file ICONS . 'clock/digital/' . substr(strftime('%H', time()), 0, 1) . '.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
scale 100 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_HOUR_1 { |
|
|
|
|
|
class 'image' |
|
|
|
|
|
file ICONS . 'clock/digital/' . substr(strftime('%H', time()), 1) . '.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
scale 100 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_DP { |
|
|
|
|
|
class 'Image' |
|
|
|
|
|
file ICONS . 'clock/digital/dp.png' |
|
|
|
|
|
update 0 |
|
|
|
|
|
scale 100 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_MIN1_ { |
|
|
|
|
|
class 'image' |
|
|
|
|
|
file ICONS . 'clock/digital/' . substr(strftime('%M', time()), 0, 1) . '.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
scale 100 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_MIN_1 { |
|
|
|
|
|
class 'image' |
|
|
|
|
|
file ICONS . 'clock/digital/' . substr(strftime('%M', time()), 1) . '.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
scale 100 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_STANDBY_HOUR1_ { |
|
|
|
|
|
class 'image' |
|
|
|
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%H', time()), 0, 1) . '.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
scale 280 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
x001.y001 'BACKGROUND' |
|
|
Widget Samsung_STANDBY_HOUR_1 { |
|
|
|
|
|
class 'image' |
|
|
|
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%H', time()), 1) . '.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
scale 280 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_STANDBY_DP { |
|
|
|
|
|
class 'Image' |
|
|
|
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/dp.png' |
|
|
|
|
|
update 0 |
|
|
|
|
|
scale 280 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_STANDBY_MIN1_ { |
|
|
|
|
|
class 'image' |
|
|
|
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%M', time()), 0, 1) . '.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
scale 280 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Widget Samsung_STANDBY_MIN_1 { |
|
|
|
|
|
class 'image' |
|
|
|
|
|
file file::exist(FCLOCK) == 1 ? ICONS . 'blank.png' : ICONS . 'clock/digital/' . substr(strftime('%M', time()), 1) . '.png' |
|
|
|
|
|
update 10000 |
|
|
|
|
|
reload 1 |
|
|
|
|
|
scale 280 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------------- # |
|
|
# --------------------------------------------------------------------------- # |
|
|
|
|
|
|
|
|
|
|
|
Layout Samsung_standard { |
|
|
|
|
|
Layer 0 { |
|
|
|
|
|
X15.Y15 'Samsung_HOUR1_' |
|
|
|
|
|
X15.Y75 'Samsung_HOUR_1' |
|
|
|
|
|
X15.Y135 'Samsung_DP' |
|
|
|
|
|
X15.Y165 'Samsung_MIN1_' |
|
|
|
|
|
X15.Y225 'Samsung_MIN_1' |
|
|
|
|
|
X15.Y300 'Samsung_LOGO' |
|
|
|
|
|
X250.Y15 'Samsung_TTF-EPG-NOW' |
|
|
|
|
|
X340.Y15 'Samsung_TTF-CHANNEL' |
|
|
|
|
|
X390.Y15 'Samsung_TTF-EPG-NEXT' |
|
|
|
|
|
X440.Y1 'Samsung_START' |
|
|
|
|
|
X440.Y670 'Samsung_END' |
|
|
|
|
|
} |
|
|
|
|
|
Layer 1 { |
|
|
|
|
|
Row12.Col08 'Samsung_EPGBAR' |
|
|
|
|
|
} |
|
|
|
|
|
Layer 2 { |
|
|
|
|
|
X1.Y1 'Samsung_BACKGROUND' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Layout Samsung_radio { |
|
|
|
|
|
Layer 0 { |
|
|
|
|
|
X15.Y15 'Samsung_HOUR1_' |
|
|
|
|
|
X15.Y75 'Samsung_HOUR_1' |
|
|
|
|
|
X15.Y135 'Samsung_DP' |
|
|
|
|
|
X15.Y165 'Samsung_MIN1_' |
|
|
|
|
|
X15.Y225 'Samsung_MIN_1' |
|
|
|
|
|
X15.Y300 'Samsung_LOGO' |
|
|
|
|
|
X250.Y15 'Samsung_TTF-EPG-NOW' |
|
|
|
|
|
X340.Y15 'Samsung_TTF-CHANNEL' |
|
|
|
|
|
X390.Y15 'Samsung_TTF-EPG-NEXT' |
|
|
|
|
|
X440.Y1 'Samsung_START' |
|
|
|
|
|
X440.Y670 'Samsung_END' |
|
|
|
|
|
} |
|
|
|
|
|
Layer 1 { |
|
|
|
|
|
Row12.Col08 'Samsung_EPGBAR' |
|
|
|
|
|
} |
|
|
|
|
|
Layer 2 { |
|
|
|
|
|
X1.Y1 'Samsung_BACKGROUND' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Layout Samsung_standby { |
|
|
|
|
|
layer 0 { |
|
|
|
|
|
x024.y190 'Samsung_MIN_A' |
|
|
|
|
|
|
|
|
|
|
|
X125.Y020 'Samsung_STANDBY_HOUR1_' |
|
|
|
|
|
X125.Y188 'Samsung_STANDBY_HOUR_1' |
|
|
|
|
|
X125.Y355 'Samsung_STANDBY_DP' |
|
|
|
|
|
X125.Y439 'Samsung_STANDBY_MIN1_' |
|
|
|
|
|
X125.Y607 'Samsung_STANDBY_MIN_1' |
|
|
|
|
|
} |
|
|
|
|
|
layer 1 { |
|
|
|
|
|
x024.y190 'Samsung_HOUR_A' |
|
|
|
|
|
} |
|
|
|
|
|
layer 2 { |
|
|
|
|
|
x001.y001 'Samsung_STANDBY' |
|
|
|
|
|
x015.y182 'Samsung_DIAL_A' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# --- General Settings ------------------------------------------------------ # |
|
|
|
|
|
|
|
|
Variables { |
|
|
Variables { |
|
|
ICONS '/share/lcd/icons/' |
|
|
ICONS '/share/lcd/icons/' |
|
|
|
|
|
SYSICONS '/share/tuxbox/neutrino/icons/' |
|
|
FWEATHER '/var/etc/.lcd-weather' |
|
|
FWEATHER '/var/etc/.lcd-weather' |
|
|
FCLOCK '/var/etc/.lcd-clock_a' |
|
|
FCLOCK '/var/etc/.lcd-clock_a' |
|
|
|
|
|
|
|
|