Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.63k stars 707 forks source link

Question: "wlr/workspaces" on hyprland #2142

Open Zeioth opened 1 year ago

Zeioth commented 1 year ago

Setting the next work fine on waybar-hyprland (AUR). But not on hyprland-git (AUR). This config appears on the hyprland wiki but not on waybar wiki.

"modules-left": [
    "wlr/workspaces",
],
 "wlr/workspaces": {
    "format": "{icon}",
    "on-click": "activate",
    "on-scroll-up": "hyprctl dispatch workspace e+1",
    "on-scroll-down": "hyprctl dispatch workspace e-1"
},

My question is: It's this behavior implemented, but undocumented in waybar-git already? Or is it currently WIP? Thank you.

memchr commented 1 year ago

It's documented in the man pages though, have a look at man waybar-wlr-workspaces.wlr/workspace was added back in 2020, but I think it's just that no one's written a wiki for it.

And according to this, it is indeed WIP. https://github.com/Alexays/Waybar/blob/e4faf252b21e69835a4439e838a21c2493bc7b19/src/factory.cpp#L51-L55

Anakael commented 4 months ago

Here is wiki for it, btw: https://github.com/Alexays/Waybar/wiki/Module:-Workspaces And it is WIP indeed: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/40