2023-06-13 23:01:28 +02:00
|
|
|
{
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
(final: prev: {
|
2023-06-20 20:50:03 +02:00
|
|
|
waybar = prev.waybar.overrideAttrs (old: rec {
|
2023-06-29 06:34:45 +02:00
|
|
|
version = "635e06209dcf14612549864f461847f94b86406b";
|
2023-06-20 20:50:03 +02:00
|
|
|
|
|
|
|
src = final.fetchFromGitHub {
|
2023-06-29 06:34:45 +02:00
|
|
|
owner = "varbhat";
|
2023-06-20 20:50:03 +02:00
|
|
|
repo = "Waybar";
|
|
|
|
rev = version;
|
2023-06-29 06:34:45 +02:00
|
|
|
sha256 = "sha256-9D+OTPVvjnjCl3OW/YUoFmDi8IJLs/8QTi5JUorLmL8=";
|
2023-06-20 20:50:03 +02:00
|
|
|
};
|
|
|
|
|
2023-06-13 23:01:28 +02:00
|
|
|
postPatch = /* bash */ ''
|
2023-06-24 03:10:07 +02:00
|
|
|
sed -i 's/zext_workspace_handle_v1_activate(workspace_handle_);/const std::string command = "hyprctl dispatch workspace " + name_;\n\tsystem(command.c_str());/g' src/modules/wlr/workspace_manager.cpp
|
2023-06-13 23:01:28 +02:00
|
|
|
'';
|
|
|
|
|
2023-06-16 13:31:34 +02:00
|
|
|
mesonFlags = old.mesonFlags ++ [ "-Dexperimental=true" ];
|
2023-06-13 23:01:28 +02:00
|
|
|
});
|
|
|
|
})
|
|
|
|
];
|
|
|
|
}
|