diff options
| author | krolyxon <me@krolyxon.com> | 2026-09-18 11:45:45 +0530 |
|---|---|---|
| committer | krolyxon <me@krolyxon.com> | 2026-09-18 11:45:45 +0530 |
| commit | 9ec4b190de9fc54302dbe626227b3cbc8f0edfcd (patch) | |
| tree | 6a7fc9d9fb717bd46c18fa0c3961e2759d9450e2 /.config/waybar | |
| parent | 8aad227481a77ff5c8edce5c4655a1cfd3da27b1 (diff) | |
waybar: make workspace scrolling with mouse work
Diffstat (limited to '.config/waybar')
| -rw-r--r-- | .config/waybar/config.jsonc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 4bae1b1..a7b1bba 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -53,8 +53,9 @@ // "default": "", // focused workspace on current monitor // "empty": "" // persistent }, - "on-scroll-up": "hyprctl dispatch workspace r-1", - "on-scroll-down": "hyprctl dispatch workspace r+1", + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch 'hl.dsp.focus({workspace=\"e+1\"})' ", + "on-scroll-down": "hyprctl dispatch 'hl.dsp.focus({workspace=\"e-1\"})' ", "all-outputs": false, "show-special": false }, |
