aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/config.jsonc
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar/config.jsonc')
-rw-r--r--.config/waybar/config.jsonc5
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
},