2022-07-15 13:11:54 +02:00
|
|
|
{ inputs }: final: prev: {
|
2022-12-23 12:37:57 +01:00
|
|
|
logseq-wayland = prev.symlinkJoin {
|
2022-12-30 18:58:13 +01:00
|
|
|
name = "logseq-wayland";
|
2022-12-23 12:37:57 +01:00
|
|
|
paths = [ prev.logseq ];
|
|
|
|
nativeBuildInputs = [ prev.makeWrapper ];
|
|
|
|
postBuild = ''
|
|
|
|
wrapProgram $out/bin/logseq \
|
|
|
|
--add-flags "--socket=wayland --enable-features=UseOzonePlatform --ozone-platform=wayland"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2022-11-25 10:24:29 +01:00
|
|
|
waybar-hyprland = prev.waybar.overrideAttrs (old: {
|
2022-12-30 18:58:13 +01:00
|
|
|
pname = "${old.pname}-hyprland";
|
2022-11-25 10:24:29 +01:00
|
|
|
postPatch = old.postPatch or "" + ''
|
2022-11-26 16:02:02 +01:00
|
|
|
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
|
2022-11-25 10:24:29 +01:00
|
|
|
'';
|
|
|
|
mesonFlags = old.mesonFlags or [ ] ++ [ "-Dexperimental=true" ];
|
|
|
|
});
|
2022-12-30 18:58:13 +01:00
|
|
|
|
2022-03-21 13:23:54 +01:00
|
|
|
master = import inputs.master {
|
|
|
|
inherit (prev) system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
2021-10-19 11:55:23 +02:00
|
|
|
stable = import inputs.stable {
|
2021-10-31 15:24:24 +01:00
|
|
|
inherit (prev) system;
|
2021-09-14 23:34:44 +02:00
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
2021-09-11 12:27:37 +02:00
|
|
|
}
|