Revert removal of waybar-hyprland overlay

nixos
Moritz Böhme 2023-02-03 14:19:13 +01:00
parent b2cb51a292
commit 7d5daeeced
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 8 additions and 0 deletions

View File

@ -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 { master = import inputs.master {
inherit (prev) system; inherit (prev) system;
config.allowUnfree = true; config.allowUnfree = true;