home, dunst: import colorscheme from tokyonight package

This commit is contained in:
Guanran Wang 2023-12-10 03:51:37 +08:00
parent 2fb6a86718
commit 0b41e97a18
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -1,6 +1,7 @@
{ {
lib, lib,
config, config,
pkgs,
... ...
}: { }: {
services.dunst = { services.dunst = {
@ -18,15 +19,8 @@
max_icon_size = 128; # weird bug, default value (128) not working max_icon_size = 128; # weird bug, default value (128) not working
}; };
} }
(lib.mkIf (config.myFlake.home-manager.colorScheme == "tokyonight") { (lib.mkIf (config.myFlake.home-manager.colorScheme == "tokyonight")
# Tokyonight (builtins.fromTOML (builtins.readFile "${pkgs.vimPlugins.tokyonight-nvim}/extras/dunst/tokyonight_night.dunstrc")))
global = {
frame_color = "#c0caf5";
background = "#1a1b26";
foreground = "#c0caf5";
};
urgency_critical.frame_color = "#fab387";
})
]; ];
}; };