🚀 add hyprland module
This commit is contained in:
parent
ad7ba759a6
commit
9918bfe0c6
11 changed files with 318 additions and 11 deletions
|
|
@ -1,6 +1,12 @@
|
|||
{ inputs }: final: prev: {
|
||||
nixpkgs-review-checks = inputs.nixpkgs-review-checks.defaultPackage."${prev.system}";
|
||||
agenix = inputs.agenix.defaultPackage."${prev.system}";
|
||||
waybar-hyprland = prev.waybar.overrideAttrs (old: {
|
||||
postPatch = old.postPatch or "" + ''
|
||||
${final.gnused}/bin/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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue