Unify config into shell.json and add Noctalia plugin support

This commit is contained in:
Ryan Hughes
2026-05-14 02:21:48 -04:00
parent 5c0f5669c9
commit bcbe12b075
49 changed files with 2178 additions and 350 deletions
@@ -0,0 +1,18 @@
pragma Singleton
import QtQuick
// Noctalia compat shim.
QtObject {
function getFormattedTimestamp() {
return new Date().toISOString()
}
function nowMs() {
return Date.now()
}
function formatDate(date, fmt) {
if (!date) date = new Date()
return Qt.formatDateTime(date, fmt || "yyyy-MM-dd HH:mm:ss")
}
}