From d03234fa06640b3aa13ff72ac56d7f4b97fae362 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 17 May 2026 21:47:50 +0200 Subject: [PATCH] Simplify --- .../plugins/bar/widgets/monitorPanel.qml | 30 +++++-------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/default/quickshell/omarchy-shell/plugins/bar/widgets/monitorPanel.qml b/default/quickshell/omarchy-shell/plugins/bar/widgets/monitorPanel.qml index 9d84a399..7ef3e96f 100644 --- a/default/quickshell/omarchy-shell/plugins/bar/widgets/monitorPanel.qml +++ b/default/quickshell/omarchy-shell/plugins/bar/widgets/monitorPanel.qml @@ -199,28 +199,12 @@ Item { anchors.fill: parent spacing: 14 - Row { - width: parent.width - spacing: 8 - - Text { - text: "Display" - color: Qt.darker(root.bar.foreground, 1.5) - font.family: root.bar.fontFamily - font.pixelSize: 11 - font.bold: true - anchors.verticalCenter: parent.verticalCenter - } - - Text { - text: root.focusedMonitor ? "· " + root.focusedMonitor : "" - color: Qt.darker(root.bar.foreground, 1.8) - font.family: root.bar.fontFamily - font.pixelSize: 11 - elide: Text.ElideRight - width: parent.width - 70 - anchors.verticalCenter: parent.verticalCenter - } + Text { + text: "Brightness" + color: Qt.darker(root.bar.foreground, 1.5) + font.family: root.bar.fontFamily + font.pixelSize: 11 + font.bold: true } Row { @@ -280,7 +264,7 @@ Item { spacing: 8 Text { - text: "Scale" + (root.monitorScale ? " · " + root.monitorScale + "x" : "") + text: "Scale" color: Qt.darker(root.bar.foreground, 1.5) font.family: root.bar.fontFamily font.pixelSize: 11