default modules to enabled, add window title debug logging

This commit is contained in:
Damocles 2026-04-17 01:13:59 +02:00
parent 5deb6e7b62
commit d8cef95b6f
2 changed files with 27 additions and 23 deletions

View file

@ -9,6 +9,10 @@ M.BarSection {
spacing: M.Theme.moduleSpacing
visible: M.Modules.windowTitle.enable && M.NiriIpc.focusedTitle !== ""
onVisibleChanged: console.log("WindowTitle visible=" + visible + " enable=" + M.Modules.windowTitle.enable + " title='" + M.NiriIpc.focusedTitle + "' width=" + width)
onWidthChanged: if (visible)
console.log("WindowTitle width=" + width + " centerSection.x would need bar ref")
tooltip: M.NiriIpc.focusedAppId ? M.NiriIpc.focusedAppId + "\n" + M.NiriIpc.focusedTitle : M.NiriIpc.focusedTitle
readonly property string _iconSource: {