summaryrefslogtreecommitdiff
path: root/bar/Workspace.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-08-23 11:59:36 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-08-23 11:59:59 +0800
commit04d4670f933431f5deaad4b2045baeccc2a4494e (patch)
tree0b3a065a7391c6df5a39e2c0bbd3324674743556 /bar/Workspace.qml
parenta41ab9ad95b4f8e053af82741a45f747e77ff37a (diff)
fix: don't set priority to -1 when indexOf returns that
Diffstat (limited to 'bar/Workspace.qml')
-rw-r--r--bar/Workspace.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/bar/Workspace.qml b/bar/Workspace.qml
index 662b9e2..a0f5f0e 100644
--- a/bar/Workspace.qml
+++ b/bar/Workspace.qml
@@ -234,7 +234,7 @@ Item {
// no idea wats wrong w/ prev so we just unify it to use +/- 1
if (event.angleDelta.y < 0) {
if (activeIndex + 1 < Bar.wss)
- Hyprland.dispatch(`hl.dsp.focus({ workspace = '+1' })`);
+ Hyprland.dispatch(`hl.dsp.focus({ workspace = '+1' })`);
else
Hyprland.dispatch(`hl.dsp.focus({ workspace = '1' })`);
} else if (event.angleDelta.y > 0) {