aboutsummaryrefslogtreecommitdiff
path: root/home-manager/homeModules/dunst.nix
blob: 3b25f413e84f11cf93247fdb0ee037cdab7c5062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ pkgs, config, lib, ... }:

{
  options = {
    dunst.enable = lib.mkEnableOption "enable dunst";
  };
  config = lib.mkIf config.dunst.enable {
    home.packages = [ pkgs.libnotify ];
    services.dunst = {
      enable = false;
      settings = {
        global = {
          origin = "bottom-right";
          frame_color = "#c4a7e7";
          notification_limit = 5;
          progress_bar = true;
          background = "#232136";
          foreground = "#e0def4";
          separator_color = "foreground";
        };
      };
    };
  };
}