mirror of
https://github.com/danth/stylix
synced 2024-11-23 04:33:15 +00:00
a1c4e8179b
Fixes #7
38 lines
835 B
Nix
38 lines
835 B
Nix
{ config, lib, ... }:
|
|
|
|
with config.lib.stylix.colors.withHashtag;
|
|
with config.stylix.fonts;
|
|
|
|
{
|
|
options.stylix.targets.dunst.enable =
|
|
config.lib.stylix.mkEnableTarget "Dunst" true;
|
|
|
|
config = lib.mkIf config.stylix.targets.dunst.enable {
|
|
home-manager.sharedModules = [{
|
|
services.dunst.settings = {
|
|
global = {
|
|
separator_color = base02;
|
|
font = sansSerif.name;
|
|
};
|
|
|
|
urgency_low = {
|
|
background = base01;
|
|
foreground = base05;
|
|
frame_color = base0B;
|
|
};
|
|
|
|
urgency_normal = {
|
|
background = base01;
|
|
foreground = base05;
|
|
frame_color = base0E;
|
|
};
|
|
|
|
urgency_critical = {
|
|
background = base01;
|
|
foreground = base05;
|
|
frame_color = base08;
|
|
};
|
|
};
|
|
}];
|
|
};
|
|
}
|