1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/pkgs/applications/window-managers/wayfire/applications.nix
Alyssa Ross c898defdbf wayfire: add plugin support
The top-level "wayfire" attribute is a Wayfire with wf-shell installed
and nothing else.  But wayfireApplications.withPlugins can be used to
create a Wayfire with arbitrary plugins, or no plugins at all.
2020-12-19 01:41:29 +00:00

24 lines
464 B
Nix

{ newScope, wayfirePlugins }:
let
self = with self; {
inherit wayfirePlugins;
callPackage = newScope self;
wayfire = callPackage ./. { };
wcm = callPackage ./wcm.nix {
inherit (wayfirePlugins) wf-shell;
};
wrapWayfireApplication = callPackage ./wrapper.nix { };
withPlugins = selector: self // {
wayfire = wrapWayfireApplication wayfire selector;
wcm = wrapWayfireApplication wcm selector;
};
};
in
self