about summary refs log tree commit diff stats
path: root/home-manager/config/river/default.nix
blob: 2d85e802223e89098c9d23fe4c7f20e39b0ecf4b (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
24
25
26
27
28
29
30
31
32
33
34
{
  config,
  pkgs,
  sysLib,
  river_init_lesser,
  ...
}: {
  xdg.configFile."river/init".source =
    sysLib.makeShellScriptWithLibrary {
      name = "river_init";
      script = ./init;
      dependencies = builtins.attrValues {
        river_init_lesser = river_init_lesser.legacyPackages.x86_64-linux.default;
        inherit
          (pkgs)
          dash
          river
          glib # gnome lib
          gammastep
          wlr-randr
          yambar
          mako
          swaybg
          swayidle
          alacritty
          ;
      };
    }
    + /bin/river_init;

  xdg.configFile."river/res".source = ./res;
}
# vim: ts=2