about summary refs log tree commit diff stats
path: root/home-manager/config/river/default.nix
blob: bd1c842c7425ebcbcade90816592f2fd213faf53 (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
{
  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