Krolyxon
Commit 9ec4b19

Branches

Refs →

aurora9ec4b19

waybar: make workspace scrolling with mouse work

Author
krolyxon
Date
2026-09-18 11:45 +0530
Parent
8aad227
Commit
9ec4b190de9fc54302dbe626227b3cbc8f0edfcd

+4 −2

2 files changed

  1. M .config/hypr/hyprland.lua +1 −0
  2. M .config/waybar/config.jsonc +3 −2
M .config/hypr/hyprland.lua View
@@ -24,6 +24,7 @@ hl.on("hyprland.start", function()
2424 hl.exec_cmd("swaync")
2525 hl.exec_cmd("gammastep")
2626 hl.exec_cmd("hypridle")
27+ hl.exec_cmd("blueman-applet")
2728 hl.exec_cmd(os.getenv("HOME") .. "/.local/bin/setwall -n")
2829 hl.exec_cmd("systemctl --user start hyprpolkitagent")
2930 end)
M .config/waybar/config.jsonc View
@@ -53,8 +53,9 @@
5353 // "default": "", // focused workspace on current monitor
5454 // "empty": "" // persistent
5555 },
56− "on-scroll-up": "hyprctl dispatch workspace r-1",
57− "on-scroll-down": "hyprctl dispatch workspace r+1",
56+ "on-click": "activate",
57+ "on-scroll-up": "hyprctl dispatch 'hl.dsp.focus({workspace=\"e+1\"})' ",
58+ "on-scroll-down": "hyprctl dispatch 'hl.dsp.focus({workspace=\"e-1\"})' ",
5859 "all-outputs": false,
5960 "show-special": false
6061 },