52 lines
1.3 KiB
Nix
Raw Normal View History

2019-09-11 17:17:56 +04:00
{ pkgs, config, lib, ... }:
2020-08-15 19:36:16 +04:00
let
thm = config.lib.base16.theme;
2019-09-11 17:17:56 +04:00
in {
home-manager.users.alukard = {
services.dunst = {
enable = true;
iconTheme = {
2021-02-07 02:38:11 +03:00
name = "${thm.iconTheme}";
2021-06-16 05:30:04 +03:00
package = thm.iconPackage;
2019-09-11 17:17:56 +04:00
};
settings = {
global = {
geometry = "500x5-30+50";
transparency = 10;
2020-08-10 01:17:22 +04:00
frame_color = "#${thm.base05-hex}";
separator_color = "#${thm.base05-hex}";
2021-09-16 01:03:52 +03:00
font = "${thm.fonts.main.family} ${thm.fontSizes.normal.str}";
2019-09-11 17:17:56 +04:00
padding = 15;
horizontal_padding = 17;
word_wrap = true;
follow = "keyboard";
format = ''
%s %p %I
%b'';
markup = "full";
};
urgency_low = {
2020-08-10 01:17:22 +04:00
background = "#${thm.base01-hex}";
2020-08-15 19:36:16 +04:00
foreground = "#${thm.base05-hex}";
timeout = 8;
2019-09-11 17:17:56 +04:00
};
urgency_normal = {
2020-08-15 19:36:16 +04:00
background = "#${thm.base01-hex}";
foreground = "#${thm.base08-hex}";
timeout = 12;
2019-09-11 17:17:56 +04:00
};
urgency_critical = {
2020-08-15 19:36:16 +04:00
background = "#${thm.base01-hex}";
foreground = "#${thm.base0D-hex}";
timeout = 20;
2019-09-11 17:17:56 +04:00
};
};
};
xsession.windowManager.i3.config.startup =
[{ command = "${pkgs.dunst}/bin/dunst"; }];
};
}