mirror of
https://github.com/NohamR/xovi-qmd-extensions.git
synced 2026-07-11 19:19:56 +00:00
Add new extension sets for versions 3.24.0.149, 3.25.1.1, 3.26.0.68, and 3.27.1.0, including battery percentage, clock, quick settings clock/timer, convert-to-text remover, and uncompress dock variants. Refresh the README with a compatibility matrix, per-extension availability by firmware version, and clearer installation/extension documentation.
63 lines
2.7 KiB
Plaintext
63 lines
2.7 KiB
Plaintext
; credit for the original clock implementation: https://github.com/StarNumber12046/xovi-qmd-extensions/blob/main/clock.qmd
|
|
AFFECT [[4911547370760691430]]
|
|
TRAVERSE [[3819512207256720568]] > [[14125623155555875541]]#[[15885405667098360701]]
|
|
LOCATE BEFORE [[16385778650434842232]]#[[7709552963638993992]]
|
|
INSERT {
|
|
~&16385778650434842232&~ {
|
|
~&5972374&~: clockSidebarItem
|
|
~&8399878573055752961&~: "clockSidebarObject"
|
|
~&214642559243&~: ~&5971598&~.~&6460516198169535423&~(getCestTime(), set_Format_Date)
|
|
~&8399601734642709923&~: ~&"4628214070783643584&~
|
|
~&7082453764421&~: ~&214625660372&~
|
|
~&233726547792244&~: ~&6504329801&~
|
|
|
|
/* 1000 = 1 second / 60000 = 1 minute */
|
|
property ~&197088788&~ set_Timer: 60000
|
|
property ~&7083178290016&~ set_Format_Date: "dd/MM hh:mm"
|
|
|
|
function getCestTime() {
|
|
~&7083121450889&~ new ~&6502586279&~();
|
|
}
|
|
|
|
~&254480451320573660&~.~&495334332051582499&~: {
|
|
~&214642559243&~ = ~&5971598&~.~&6460516198169535423&~(getCestTime(), set_Format_Date);
|
|
}
|
|
|
|
~&254542236275632405&~: {
|
|
|
|
~&5972376&~ (clockSidebarItem.set_Timer === 60000) {
|
|
clockSidebarItem.set_Timer = 1000;
|
|
clockSidebarItem.set_Format_Date = "dd/MM hh:mm:ss";
|
|
} ~&6503784146&~ {
|
|
clockSidebarItem.set_Timer = 60000;
|
|
clockSidebarItem.set_Format_Date = "dd/MM hh:mm";
|
|
}
|
|
|
|
~&214642551402&~.~&7713147298280334&~ = clockSidebarItem.set_Timer
|
|
clockSidebarItem.~&214642559243&~ = ~&5971598&~.~&6460516198169535423&~(clockSidebarItem.getCestTime(), clockSidebarItem.set_Format_Date);
|
|
}
|
|
|
|
/* Timer for update time */
|
|
~&214604601930&~ {
|
|
~&5972374&~: ~&214642551402&~
|
|
~&7713147298280334&~: clockSidebarItem.set_Timer
|
|
~&7083121289162&~: ~&6504329801&~
|
|
~&233743626668842&~: ~&6504329801&~
|
|
|
|
~&495358363329399331&~: {
|
|
clockSidebarItem.~&214642559243&~ = ~&5971598&~.~&6460516198169535423&~(clockSidebarItem.getCestTime(), clockSidebarItem.set_Format_Date);
|
|
}
|
|
}
|
|
|
|
~&7081629735527&~.~&17520348323745447649&~: ~&7082020628281&~.~&15061686673205541622&~
|
|
~&7081629735527&~.~&7797818826744279624&~: ~&7083038346995&~.~&214646099849&~
|
|
~&11921478716705041271&~: ~&6504254477&~
|
|
|
|
function ~&7712792149454042&~() {
|
|
~&7083211098251&~();
|
|
}
|
|
}
|
|
}
|
|
END TRAVERSE
|
|
END AFFECT
|