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,25 @@
pragma Singleton
import QtQuick
// Noctalia compat shim. Their plugins call TooltipService.show(item, text)
// on hover; we route that into the Omarchy bar's shared tooltip popup.
QtObject {
id: root
// Wired by Bar.qml on construction.
property var bar: null
function show(item, text, direction) {
if (!bar || !item) return
if (typeof bar.showTooltip === "function") {
bar.showTooltip(item, text || "")
}
}
function hide(item) {
if (!bar) return
if (typeof bar.hideTooltip === "function") {
bar.hideTooltip(item || null)
}
}
}