mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
refactor: desktop legacy module
This commit is contained in:
parent
5f56c011ab
commit
d463f4d1af
31 changed files with 630 additions and 577 deletions
50
modules/desktop/dms/theme.nix
Normal file
50
modules/desktop/dms/theme.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
username,
|
||||
...
|
||||
}: {
|
||||
config = lib.mkIf config.fireproof.desktop.enable {
|
||||
fireproof.home-manager = {
|
||||
home.file.".config/DankMaterialShell/colors.json".text = builtins.toJSON {
|
||||
name = "custom";
|
||||
primary = "#CF6A4C";
|
||||
primaryText = "#F2F0E5";
|
||||
primaryContainer = "#403E3C";
|
||||
secondary = "#CE5D97";
|
||||
surface = "#343331";
|
||||
surfaceText = "#DAD8CE";
|
||||
surfaceVariant = "#1C1B1A";
|
||||
surfaceVariantText = "#B7B5AC";
|
||||
surfaceTint = "#CF6A4C";
|
||||
background = "#100F0F";
|
||||
backgroundText = "#F2F0E5";
|
||||
outline = "#878580";
|
||||
surfaceContainer = "#1C1B1A";
|
||||
surfaceContainerHigh = "#282726";
|
||||
surfaceContainerHighest = "#403E3C";
|
||||
error = "#D14D41";
|
||||
warning = "#D0A215";
|
||||
info = "#4385BE";
|
||||
matugen_type = "scheme-expressive";
|
||||
};
|
||||
|
||||
programs.dankMaterialShell.default.settings = {
|
||||
# Color theme
|
||||
currentThemeName = "custom";
|
||||
customThemeFile = "/home/${username}/.config/DankMaterialShell/colors.json";
|
||||
widgetBackgroundColor = "sth";
|
||||
widgetColorMode = "default";
|
||||
|
||||
# General
|
||||
cornerRadius = 8;
|
||||
|
||||
# Font
|
||||
fontFamily = "Inter Variable";
|
||||
monoFontFamily = "Hack Nerd Font Mono";
|
||||
fontWeight = 400;
|
||||
fontScale = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue