aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/nixvim/plugins/lualine.nix
blob: 3138887ed2db45a5cc4f1cb308090c376ffd7d17 (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
{ config, lib, ... }:

{
  config.programs.nixvim.plugins.lualine = lib.mkIf config.tools.nixvim.enable {
    enable = true;
    settings = {
      options = {
        theme = with config.scheme.withHashtag; {
          normal = {
            a = { fg = base00; bg = base0D; gui = "bold"; };
            b = { fg = base05; bg = base01; };
            c = { fg = base05; bg = base00; };
          };
          insert = {
            a = { fg = base00; bg = base0B; gui = "bold"; };
            b = { fg = base05; bg = base01; };
            c = { fg = base05; bg = base00; };
          };
          visual = {
            a = { fg = base00; bg = base0A; gui = "bold"; };
            b = { fg = base05; bg = base01; };
            c = { fg = base05; bg = base00; };
          };
          replace = {
            a = { fg = base00; bg = base08; gui = "bold"; };
            b = { fg = base05; bg = base01; };
            c = { fg = base05; bg = base00; };
          };
          inactive = {
            a = { fg = base04; bg = base00; gui = "bold"; };
            b = { fg = base04; bg = base00; };
            c = { fg = base04; bg = base00; };
          };
        };
        icons_enabled = true;
      };
    };
  };
}