🚀 improve hyprland experience

This commit is contained in:
Moritz Böhme 2022-11-26 16:02:02 +01:00
parent df54824957
commit 1b536e52b5
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
9 changed files with 263 additions and 182 deletions

View file

@ -3,7 +3,7 @@
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
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" ];
});