Clock: AM/PM in 12-hour mode, and the default panel clock now has source
CI / test (push) Failing after 16s
CI / test (push) Failing after 16s
clock-digital12 (the default panel's clock) was a prebuilt wasm with no source. It is now a component built from lib/clock like the Digital Clock, starting in 12-hour mode with AM/PM, and it gets the same right-click Module settings. Both digital clocks get a "Show AM/PM" switch, offered in 12-hour mode (on by default). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hhrQpz9texRcAtgECq
This commit is contained in:
19 files changed
+930
-10
No files matched your search
@@ -0,0 +1,30 @@
|
||||
import {
|
||||
"chandra/desktop/components/clock-digital12/gen/interface/chandra/desktop/module-config" @module-config,
|
||||
"chandra/desktop/components/clock-digital12/gen/interface/chandra/desktop/plasmoid" @plasmoid,
|
||||
}
|
||||
|
||||
warnings = "-44"
|
||||
|
||||
pkgtype(kind: "foreign_library")
|
||||
|
||||
options(
|
||||
link: {
|
||||
"wasm": {
|
||||
"export-memory-name": "memory",
|
||||
"heap-start-address": 16,
|
||||
"exports": [
|
||||
"mbt_ffi_cabi_realloc:cabi_realloc",
|
||||
"wasmExportConfigItems:chandra:desktop/module-config@0.1.0#config-items",
|
||||
"wasmExportConfigItemsPostReturn:cabi_post_chandra:desktop/module-config@0.1.0#config-items",
|
||||
"wasmExportInfo:chandra:desktop/plasmoid@0.1.0#info",
|
||||
"wasmExportInfoPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#info",
|
||||
"wasmExportOnEvent:chandra:desktop/plasmoid@0.1.0#on-event",
|
||||
"wasmExportPopup:chandra:desktop/plasmoid@0.1.0#popup",
|
||||
"wasmExportPopupPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#popup",
|
||||
"wasmExportRender:chandra:desktop/plasmoid@0.1.0#render",
|
||||
"wasmExportRenderPostReturn:cabi_post_chandra:desktop/plasmoid@0.1.0#render",
|
||||
"wasmExportSetConfig:chandra:desktop/module-config@0.1.0#set-config"
|
||||
],
|
||||
},
|
||||
},
|
||||
)
|
||||
Reference in new issue
Block a user