51 lines
1.3 KiB
Nix
Raw Normal View History

2019-09-11 17:17:56 +04:00
{ pkgs, config, lib, ... }:
2020-08-10 01:17:22 +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 = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
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}";
font = "${thm.font} ${thm.fontSize}";
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}";
foreground = "#${thm.base03-hex}";
2019-09-11 17:17:56 +04:00
timeout = 5;
};
urgency_normal = {
2020-08-10 01:17:22 +04:00
background = "#${thm.base02-hex}";
foreground = "#${thm.base05-hex}";
2019-09-11 17:17:56 +04:00
timeout = 10;
};
urgency_critical = {
2020-08-10 01:17:22 +04:00
background = "#${thm.base08-hex}";
foreground = "#${thm.base06-hex}";
2019-09-11 17:17:56 +04:00
timeout = 15;
};
};
};
xsession.windowManager.i3.config.startup =
[{ command = "${pkgs.dunst}/bin/dunst"; }];
};
}