summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-dunst.nix
diff options
context:
space:
mode:
authorbrustybee <bee@4d2.org>2026-03-07 14:48:22 +0530
committerbrustybee <bee@4d2.org>2026-03-07 14:48:22 +0530
commit981bf88867a7d80c44708f0fc305ce41109f439c (patch)
tree3539976a27252255b42769ca4f5f410564f8601d /common/modules/matugen/templates/matugen-dunst.nix
parent9a6b7c9daddfbed3ad1649742210a901864bd3aa (diff)
Add dunst and update its matugen temp
Diffstat (limited to 'common/modules/matugen/templates/matugen-dunst.nix')
-rw-r--r--common/modules/matugen/templates/matugen-dunst.nix25
1 files changed, 3 insertions, 22 deletions
diff --git a/common/modules/matugen/templates/matugen-dunst.nix b/common/modules/matugen/templates/matugen-dunst.nix
index 2f7d107..9b523d3 100644
--- a/common/modules/matugen/templates/matugen-dunst.nix
+++ b/common/modules/matugen/templates/matugen-dunst.nix
@@ -1,44 +1,25 @@
{
- config,
- pkgs,
- ...
-}:
-let
- playSound = pkgs.writeShellScriptBin "play-notification-sound" ''
- ${pkgs.libcanberra-gtk3}/bin/canberra-gtk-play -i message
- '';
-in
-{
xdg.configFile."matugen/templates/dunstrc" = {
text = ''
[global]
- font = "Lilex Nerd Font 11"
- corner_radius=0
- frame_width = 2
- markup = yes
- plain_text = no
- browser = zen --new-tab
-
- [play_sound]
- summary = "*"
- script = "${playSound}/bin/play-notification-sound"
-
- # --- Matugen Colors ---
frame_color = "{{colors.primary.default.hex}}"
separator_color = "{{colors.primary_container.default.hex}}"
[urgency_low]
background = "{{colors.surface.default.hex}}"
foreground = "{{colors.on_surface.default.hex}}"
+ highlight = "{{colors.primary.default.hex}}"
[urgency_normal]
background = "{{colors.surface.default.hex}}"
foreground = "{{colors.on_surface.default.hex}}"
+ highlight = "{{colors.primary.default.hex}}"
[urgency_critical]
background = "{{colors.error_container.default.hex}}"
foreground = "{{colors.on_error_container.default.hex}}"
frame_color = "{{colors.error.default.hex}}"
+ highlight = "{{colors.error.default.hex}}"
'';
};
}