about summary refs log tree commit diff stats
path: root/home-manager/config/river/default.nix
blob: 8886320b7a84893eb5f7a51e9c85d814b7443427 (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
{
  config,
  pkgs,
  sysLib,
  ...
}: {
  xdg.configFile."river/init".source =
    sysLib.makeShellScriptWithLibrary {
      name = "river_init";
      script = ./init;
      dependencies = builtins.attrValues {
        # TODO inherit river_init_lesser
        inherit
          (pkgs)
          river
          glib # gnome lib
          gammastep
          wlr-randr
          yambar
          mako
          swaybg
          swayidle
          alacritty
          ;
      };
    }
    + /bin/river_init;

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