feat: better theming

This commit is contained in:
2024-04-29 17:10:35 +02:00
parent 2a73833ca7
commit 050b84ef6b
2 changed files with 9 additions and 7 deletions

6
flake.lock generated
View File

@@ -220,11 +220,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1713978374, "lastModified": 1714402324,
"narHash": "sha256-6hsDcW5Ke1429SFjRgDNhmaOhdxDLteMeHXdz0Petqo=", "narHash": "sha256-VVT4K/r7REVT1g/UF7xgpCuR9h61q9KG1KW1BbbT7YA=",
"owner": "Theaninova", "owner": "Theaninova",
"repo": "matugen", "repo": "matugen",
"rev": "c50741a6432ac5ed1719737fc96051d2da878057", "rev": "6bbb7a6e8047f27c35f6c69b8de1c3a59b87b6cd",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -24,7 +24,7 @@ in
"rainbow" "rainbow"
"tonal-spot" "tonal-spot"
]; ];
default = "content"; default = "tonal-spot";
description = "The flavour of the theme"; description = "The flavour of the theme";
}; };
contrast = lib.mkOption { contrast = lib.mkOption {
@@ -168,9 +168,11 @@ in
}; };
xdg.configFile."matugen/config.toml" = { xdg.configFile."matugen/config.toml" = {
onChange = '' /*
theme init onChange = ''
''; theme init
'';
*/
source = (pkgs.formats.toml { }).generate "matugen" { source = (pkgs.formats.toml { }).generate "matugen" {
config = { config = {
reload_apps = true; reload_apps = true;