From 3d899de9326fe561d0e96966859a5e1844a84741 Mon Sep 17 00:00:00 2001 From: zoe Date: Wed, 22 Feb 2023 17:51:23 +0100 Subject: [PATCH] cool new color feature --- dunst/settings.nix | 16 +++++++++------- home.nix | 3 +-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/dunst/settings.nix b/dunst/settings.nix index 902f40b..afb41f9 100644 --- a/dunst/settings.nix +++ b/dunst/settings.nix @@ -1,14 +1,16 @@ -{ ... }: +{ config, ... }: +{ home-manager.users.zoe.services.dunst = { enable = true; settings = { global = { - font = "CaskaydiaCove Nerd Font 12"; + font = "${config.font.regular} 12"; timeout = 3; - background = "#f9f5d7"; - foreground = "#3c3836"; - highlight = "#79740e"; - frame_color = "#8f3f71"; + background = config.color.background; + foreground = config.color.foreground; + highlight = config.color.green; + frame_color = config.color.green; }; }; -} +}; +} \ No newline at end of file diff --git a/home.nix b/home.nix index 858af29..93eac3a 100644 --- a/home.nix +++ b/home.nix @@ -1,7 +1,6 @@ { pkgs, config, ... }: let nvimCustom = import ./nvim/settings.nix; - dunstCustom = import ./dunst/settings.nix; helixCustom = import ./helix/settings.nix; in { imports = [ @@ -11,13 +10,13 @@ in { ./kitty/settings.nix ./rofi/settings.nix ./i3/i3status-rust.nix + ./dunst/settings.nix ]; home-manager.users.zoe = { home.stateVersion = "22.11"; programs.neovim = nvimCustom pkgs; programs.helix = helixCustom pkgs; - services.dunst = dunstCustom pkgs; programs.git = { enable = true;