blob: 23aef4337a67c6bad4767da9228e4de84de5544c (
plain)
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
35
36
37
38
39
40
41
42
43
|
/**
* A home-manager module to configure userspace i3
*
*/
{ config, lib, pkgs, home-manager, ... } @ args:
let cfg = config.libkookie.ui.i3;
in
{
options.libkookie.ui.i3 = with lib; {
compton = mkEnableOption "window composition with compton";
wallpaper = mkOption {
type = types.path;
description = ''
Specify the wallpaper to set.
'';
};
# TODO: figure out a way to make this a package type
fonts = mkOption {
type = with types; listOf str;
default = [ "monospace" ];
description = ''
A set of fonts to use by the i3 module for rendering text
'';
};
i3Status = mkOption {
type = with types; submodule {
options = {
colors = mkOption { type = bool; default = true; };
format = mkOption { type = str; default = "dzen2"; };
interval = mkOption { type = int; default = 1; };
segments = mkOption { type = listOf str; default = []; };
};
};
};
};
config = (import core/setup.nix args);
}
|