Open danielgomez3 opened 1 year ago
Same here, getting:
[2023-04-16 16:17:59.541] [warning] module wlr/workspaces: Unknown module: wlr/workspaces
With Hyprland :man_shrugging:
EDIT: @danielgomez3 I see you're mistyped wlr/workspaces
both in your config and in your issue title. I guess that's your problem.
I've written it correctly though and I'm still getting the warning, and the module is not showing up :thinking:
Thanks, I still get the error regardless. I was just in a rush trying to replicate it.
Seems this module is experimental and needs a build flag. That surprised me since the module is documented in the man pages on my system.
I installed waybar from the waybar-hyprland AUR package and now the module works.
@Hubro Unfortunately this is for NixOS, and downloaded via the Nix Package manager.
@danielgomez3 It seems that NixOS doesn't package waybar with the experimental options enabled. Maybe you can try to get in touch with the maintainers to see if they are interested in creating a nixpkg for hyprland with the experimental build flag, and maybe if they would be willing to create a way for you to use the hyprctl and cava patches on NixOS (the patches applied in waybar-hyprland on the AUR)?
@danielgomez3 @Hubro The way to fix this is via compiling Waybar with the experimental option by adding the following to configuration.nix in the packages section:
environment.systemPackages = with pkgs; [
(waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
}))
]
@Alexays this can be closed, nixpkgs includes experimental support by default now since https://github.com/NixOS/nixpkgs/pull/251115
The majority of this debug log is not related to this issue, but despite all available efforts, wrl/workspaces is just not recognized, despite using an overlay. Full Output: