custom colorscheme and xresources

This commit is contained in:
Sam 2024-06-15 17:22:54 +01:00
parent 8ff60b5f00
commit fbd8946612
3 changed files with 31 additions and 1 deletions

View File

@ -8,6 +8,7 @@
./sxhkdrc.nix
./picom.nix
./xresources.nix
./dunst.nix
# Status bar scripts
./scripts/sb-cpu-pct.nix

View File

@ -1,3 +1,4 @@
{ config, ... }:
{
home.file.".Xresources" = {
recursive = true;
@ -9,6 +10,12 @@
! dwm
dwm.borderpx: 3
dwm.col_base00: #${config.colorScheme.colors.base00}
dwm.col_base03: #${config.colorScheme.colors.base03}
dwm.col_base04: #${config.colorScheme.colors.base04}
dwm.col_base05: #${config.colorScheme.colors.base05}
dwm.col_base08: #${config.colorScheme.colors.base08}
dwm.col_base0B: #${config.colorScheme.colors.base0B}
'';
};
}

View File

@ -15,6 +15,28 @@
];
colorScheme = inputs.nix-colors.colorSchemes.kanagawa;
colorScheme = {
slug = "serene";
name = "Serene";
author = "Bitlab21";
palette = {
base00 = "#1F1F28";
base01 = "#16161D";
base02 = "#223249";
base03 = "#363646";
base04 = "#727169";
base05 = "#DCD7BA";
base06 = "#C8C093";
base07 = "#717C7C";
base08 = "#C34043";
base09 = "#FFA066";
base0A = "#C0A36E";
base0B = "#76946A";
base0C = "#6A9589";
base0D = "#7E9CD8";
base0E = "#957FB8";
base0F = "#D27E99";
};
};
}