summary refs log tree commit diff
path: root/pkgs/applications/window-managers/wayfire/applications.nix
blob: 6c22227c0c5136369f166a68a82c66e9eab0a99b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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