per-group borders, workspace hover, battery notifications, richer network tooltip

This commit is contained in:
Damocles 2026-04-12 16:32:33 +02:00
parent b8ec39f2c9
commit 0eda2c71c9
7 changed files with 69 additions and 16 deletions

View file

@ -69,9 +69,11 @@ Row {
required property var modelData
readonly property bool active: modelData.id === root._activeId
property bool _hovered: false
HoverHandler {
onHoveredChanged: {
pill._hovered = hovered;
const name = pill.modelData.name || ("Workspace " + pill.modelData.idx);
if (hovered) {
M.FlyoutState.text = name;
@ -87,7 +89,7 @@ Row {
width: 20
height: 20
radius: M.Theme.radius
color: pill.active ? M.Theme.base0D : M.Theme.base02
color: pill.active ? M.Theme.base0D : (pill._hovered ? M.Theme.base03 : M.Theme.base02)
Behavior on color { ColorAnimation { duration: 150 } }
Text {