diff --git a/overlays/default.nix b/overlays/default.nix index 9a3101b..071a899 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -9,6 +9,14 @@ ''; }; + waybar-hyprland = prev.waybar.overrideAttrs (old: { + pname = "${old.pname}-hyprland"; + postPatch = old.postPatch or "" + '' + sed -i 's,zext_workspace_handle_v1_activate(workspace_handle_);,const std::string command = "${final.hyprland}/bin/hyprctl dispatch workspace " + name_;\n\tsystem(command.c_str());,g' src/modules/wlr/workspace_manager.cpp + ''; + mesonFlags = old.mesonFlags or [ ] ++ [ "-Dexperimental=true" ]; + }); + master = import inputs.master { inherit (prev) system; config.allowUnfree = true;