Revert removal of waybar-hyprland overlay

This commit is contained in:
Moritz Böhme 2023-02-03 14:19:13 +01:00
parent b2cb51a292
commit 7d5daeeced
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

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;