From f174d35383478d49e85f8a09533edb92d5fdab47 Mon Sep 17 00:00:00 2001 From: Damocles Date: Thu, 16 Apr 2026 20:47:33 +0200 Subject: [PATCH] add panel titles to mpris/sound/brightness; pin button always visible --- modules/Backlight.qml | 1 + modules/HoverPanel.qml | 13 +------------ modules/Mpris.qml | 1 + modules/Volume.qml | 1 + 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/modules/Backlight.qml b/modules/Backlight.qml index 84683cd..9dc64cc 100644 --- a/modules/Backlight.qml +++ b/modules/Backlight.qml @@ -109,6 +109,7 @@ M.BarSection { anchorItem: root accentColor: root.accentColor panelNamespace: "nova-backlight" + panelTitle: "Brightness" contentWidth: 200 Item { diff --git a/modules/HoverPanel.qml b/modules/HoverPanel.qml index fd459da..59192fa 100644 --- a/modules/HoverPanel.qml +++ b/modules/HoverPanel.qml @@ -268,18 +268,7 @@ PanelWindow { anchors.verticalCenter: parent.verticalCenter width: root.popupMode ? 0 : 20 height: 20 - visible: !root.popupMode && (root.panelHovered || root._pinned) - opacity: pinHover.hovered || root._pinned ? 1 : 0.35 - - Behavior on opacity { - NumberAnimation { - duration: 100 - } - } - - HoverHandler { - id: pinHover - } + visible: !root.popupMode TapHandler { cursorShape: Qt.PointingHandCursor diff --git a/modules/Mpris.qml b/modules/Mpris.qml index 1b391cd..0ffbbb7 100644 --- a/modules/Mpris.qml +++ b/modules/Mpris.qml @@ -119,6 +119,7 @@ M.BarSection { anchorItem: root accentColor: root.accentColor panelNamespace: "nova-mpris" + panelTitle: "Now Playing" contentWidth: 280 // Album art — always 1:1 diff --git a/modules/Volume.qml b/modules/Volume.qml index 7166207..c4d5d33 100644 --- a/modules/Volume.qml +++ b/modules/Volume.qml @@ -110,6 +110,7 @@ M.BarSection { anchorItem: root accentColor: root.accentColor panelNamespace: "nova-volume" + panelTitle: "Sound" contentWidth: 220 // Slider row