summaryrefslogtreecommitdiff
path: root/home-manager/modules/aesthetics/themes/oxocarbon/default.nix
blob: 2c6ee6e0bc259399c5a9df9b38c51866383e45b4 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
  config,
  pkgs,
  lib,
  inputs,
  ...
}: let
  cfg = config.aesthetics.themes.oxocarbon;
  wallpapers = inputs.wallpapers.packages.${pkgs.system}.default;
in {
  options.aesthetics.themes.oxocarbon.enable = lib.mkEnableOption "oxocarbon theme";
  config = lib.mkMerge [
    (
      lib.mkIf cfg.enable {
        aesthetics = {
          wallpaper = "${wallpapers}/neutral/landscape/salt-flats.jpg";
          wallpapersDir = "${wallpapers}/neutral";
          scheme = {
            base00 = "161616";
            base01 = "262626";
            base02 = "393939";
            base03 = "525252";
            base04 = "dde1e6";
            base05 = "f2f4f8";
            base06 = "ffffff";
            base07 = "08bdba";
            base08 = "3ddbd9";
            base09 = "78a9ff";
            base0A = "ee5396";
            base0B = "33b1ff";
            base0C = "ff7eb6";
            base0D = "42be65";
            base0E = "be95ff";
            base0F = "82cfff";
          };
          font = {
            name = "CodeNewRoman Nerd Font";
            package = pkgs.nerd-fonts.code-new-roman;
          };
          # font = {
          #   name = "Kirsch Nerd Font";
          #   size = "22";
          #   package = inputs.kirsch.packages.x86_64-linux.kirsch-nerd;
          # };
        };
        # home.pointerCursor = {
        #   package = pkgs.oreo-cursors-plus;
        #   name = "oreo_spark_black_bordered_cursors";
        #   size = 22;
        # };
        home.pointerCursor = {
          package = pkgs.qogir-icon-theme;
          name = "Qogir-Dark";
          size = 22;
        };
      }
    )
    (
      lib.mkIf config.aesthetics.targets.helix.enable {
        aesthetics.targets.helix.theme = "oxocarbon";
        home.file."helix-oxocarbon-theme" = {
          target = ".config/helix/themes/oxocarbon.toml";
          source = ./helix-theme.toml;
        };
      }
    )
  ];
}