From 0e446f70f29ac88c7039ab4b91e90b6e84cfc73a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 16 May 2026 09:43:11 +0200 Subject: [PATCH] Use pointer hand for click target --- default/quickshell/omarchy-shell/plugins/bar/Bar.qml | 2 ++ .../quickshell/omarchy-shell/plugins/bar/common/PillButton.qml | 1 + default/quickshell/omarchy-shell/plugins/bar/common/Slider.qml | 1 + .../omarchy-shell/plugins/bar/common/WidgetButton.qml | 1 + default/quickshell/omarchy-shell/plugins/bar/widgets/media.qml | 1 + 5 files changed, 6 insertions(+) diff --git a/default/quickshell/omarchy-shell/plugins/bar/Bar.qml b/default/quickshell/omarchy-shell/plugins/bar/Bar.qml index e20f7f6a..a89eae33 100644 --- a/default/quickshell/omarchy-shell/plugins/bar/Bar.qml +++ b/default/quickshell/omarchy-shell/plugins/bar/Bar.qml @@ -1350,6 +1350,7 @@ Item { anchors.fill: parent acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton hoverEnabled: true + cursorShape: Qt.PointingHandCursor onEntered: root.showTooltip(buttonRoot, buttonRoot.tooltipText) onExited: root.hideTooltip(buttonRoot) onClicked: function(mouse) { buttonRoot.pressed(mouse.button) } @@ -1861,6 +1862,7 @@ Item { anchors.fill: parent acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton hoverEnabled: true + cursorShape: Qt.PointingHandCursor onEntered: root.showTooltip(trayItemRoot, root.trayTooltip(modelData)) onExited: root.hideTooltip(trayItemRoot) onClicked: function(mouse) { diff --git a/default/quickshell/omarchy-shell/plugins/bar/common/PillButton.qml b/default/quickshell/omarchy-shell/plugins/bar/common/PillButton.qml index 21fdf5d3..8f091ab9 100644 --- a/default/quickshell/omarchy-shell/plugins/bar/common/PillButton.qml +++ b/default/quickshell/omarchy-shell/plugins/bar/common/PillButton.qml @@ -91,6 +91,7 @@ Rectangle { id: mouseArea anchors.fill: parent hoverEnabled: true + cursorShape: Qt.PointingHandCursor acceptedButtons: Qt.LeftButton | Qt.RightButton onClicked: function(mouse) { if (mouse.button === Qt.RightButton) root.rightClicked() diff --git a/default/quickshell/omarchy-shell/plugins/bar/common/Slider.qml b/default/quickshell/omarchy-shell/plugins/bar/common/Slider.qml index 2b3d644c..827d30a8 100644 --- a/default/quickshell/omarchy-shell/plugins/bar/common/Slider.qml +++ b/default/quickshell/omarchy-shell/plugins/bar/common/Slider.qml @@ -78,6 +78,7 @@ Item { id: mouseArea anchors.fill: parent hoverEnabled: true + cursorShape: Qt.PointingHandCursor acceptedButtons: Qt.LeftButton function valueFromX(x) { diff --git a/default/quickshell/omarchy-shell/plugins/bar/common/WidgetButton.qml b/default/quickshell/omarchy-shell/plugins/bar/common/WidgetButton.qml index 3b5f8891..fc371c7e 100644 --- a/default/quickshell/omarchy-shell/plugins/bar/common/WidgetButton.qml +++ b/default/quickshell/omarchy-shell/plugins/bar/common/WidgetButton.qml @@ -55,6 +55,7 @@ Item { anchors.fill: parent acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton hoverEnabled: true + cursorShape: Qt.PointingHandCursor onEntered: if (root.bar) root.bar.showTooltip(root, root.tooltipText) onExited: if (root.bar) root.bar.hideTooltip(root) onClicked: function(mouse) { diff --git a/default/quickshell/omarchy-shell/plugins/bar/widgets/media.qml b/default/quickshell/omarchy-shell/plugins/bar/widgets/media.qml index ce1c2d2f..5e31844a 100644 --- a/default/quickshell/omarchy-shell/plugins/bar/widgets/media.qml +++ b/default/quickshell/omarchy-shell/plugins/bar/widgets/media.qml @@ -91,6 +91,7 @@ Item { MouseArea { anchors.fill: parent hoverEnabled: true + cursorShape: root.activePlayer ? Qt.PointingHandCursor : Qt.ArrowCursor acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton onClicked: function(mouse) {