From 622afb2100bc09dbb74ae437605ee269b4183526 Mon Sep 17 00:00:00 2001 From: thomas Date: Thu, 27 Aug 2026 11:28:57 +0100 Subject: [PATCH] UI: fixed selectors & added spacing --- .../.config/quickshell/modules/bar/Volume.qml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/dotfiles/.config/quickshell/modules/bar/Volume.qml b/dotfiles/.config/quickshell/modules/bar/Volume.qml index 1845cf0..bdbf0e7 100644 --- a/dotfiles/.config/quickshell/modules/bar/Volume.qml +++ b/dotfiles/.config/quickshell/modules/bar/Volume.qml @@ -240,6 +240,19 @@ Item { color: rowMouse.containsMouse ? Colors.primary : (deviceRow.active ? Qt.rgba(Colors.primary.r, Colors.primary.g, Colors.primary.b, 0.18) : "transparent") + // Hover-only outline, offset outside the row rather than drawn on + // its own edge — same treatment as the other bar widgets' selectable + // rows (e.g. NetworkIndicator.qml's NetworkRow). Not inside a + // clipped Flickable here, so no inset needed on its container. + Rectangle { + anchors.fill: parent + anchors.margins: -3 + radius: 0 + color: "transparent" + border.color: Colors.foreground + border.width: rowMouse.containsMouse ? 1 : 0 + } + RowLayout { anchors.fill: parent anchors.leftMargin: 8 @@ -388,7 +401,7 @@ Item { Column { width: parent.width - spacing: 2 + spacing: 4 Repeater { model: root.candidateSinks DeviceRow { @@ -439,7 +452,7 @@ Item { Column { width: parent.width - spacing: 2 + spacing: 4 Repeater { model: root.candidateSources DeviceRow {