diff options
Diffstat (limited to 'bar')
| -rw-r--r-- | bar/TimeDate.qml | 2 | ||||
| -rw-r--r-- | bar/Workspace.qml | 2 | ||||
| -rw-r--r-- | bar/components/SimpleResource.qml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bar/TimeDate.qml b/bar/TimeDate.qml index ddeca47..adbda83 100644 --- a/bar/TimeDate.qml +++ b/bar/TimeDate.qml @@ -126,7 +126,7 @@ Item { MouseArea { anchors.fill: parent cursorShape: Qt.PointingHandCursor - onPressed: { + onClicked: { root.isAlt = !root.isAlt; } } diff --git a/bar/Workspace.qml b/bar/Workspace.qml index 51c4ba4..9096a2e 100644 --- a/bar/Workspace.qml +++ b/bar/Workspace.qml @@ -132,7 +132,7 @@ Item { acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton hoverEnabled: true - onPressed: { + onClicked: { if (!parent.active) Hyprland.dispatch(`hl.dsp.focus({ workspace = '${index + 1}' })`); } diff --git a/bar/components/SimpleResource.qml b/bar/components/SimpleResource.qml index cb2fef6..6159f62 100644 --- a/bar/components/SimpleResource.qml +++ b/bar/components/SimpleResource.qml @@ -93,7 +93,7 @@ Item { MouseArea { anchors.fill: parent cursorShape: altValue != value ? Qt.PointingHandCursor : Qt.ArrowCursor - onPressed: { + onClicked: { root.isAlt = !root.isAlt; } } |
