Compare commits

...

2 commits

Author SHA1 Message Date
Damocles
45704cb102 hide window title when no window is focused 2026-04-13 16:37:26 +02:00
Damocles
56aa6dc342 idle inhibitor: accent color when inactive, orange warning when active 2026-04-13 16:33:49 +02:00
2 changed files with 2 additions and 1 deletions

View file

@ -5,7 +5,7 @@ import "." as M
M.BarIcon { M.BarIcon {
id: root id: root
color: root.active ? (parent?.accentColor ?? M.Theme.base05) : M.Theme.base04 color: root.active ? M.Theme.base09 : (parent?.accentColor ?? M.Theme.base05)
tooltip: { tooltip: {
const parts = ["Idle inhibition: " + (root.active ? "active" : "inactive")]; const parts = ["Idle inhibition: " + (root.active ? "active" : "inactive")];
if (root._inhibitors) if (root._inhibitors)

View file

@ -8,6 +8,7 @@ import "." as M
M.BarSection { M.BarSection {
id: root id: root
spacing: M.Theme.moduleSpacing spacing: M.Theme.moduleSpacing
visible: root._title !== ""
tooltip: root._appId ? root._appId + "\n" + root._title : root._title tooltip: root._appId ? root._appId + "\n" + root._title : root._title