diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-08-23 11:59:36 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-08-23 11:59:59 +0800 |
| commit | 04d4670f933431f5deaad4b2045baeccc2a4494e (patch) | |
| tree | 0b3a065a7391c6df5a39e2c0bbd3324674743556 /bar/Workspace.qml | |
| parent | a41ab9ad95b4f8e053af82741a45f747e77ff37a (diff) | |
fix: don't set priority to -1 when indexOf returns that
Diffstat (limited to 'bar/Workspace.qml')
| -rw-r--r-- | bar/Workspace.qml | 2 |
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) { |
