This repository has been archived on 2026-03-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
nixos/home/programs/dunst/default.nix
Torjus Håkestad 2cea0a853b
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m16s
Periodic flake update / flake-update (push) Successful in 2m24s
dunst: use catppuccin macchiato theme, switch to JetBrains Mono font
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 23:54:03 +01:00

70 lines
1.6 KiB
Nix

{
pkgs,
...
}:
{
catppuccin.dunst = {
enable = true;
flavor = "macchiato";
};
services.dunst = {
enable = true;
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
settings = {
global = {
origin = "top-right";
follow = "none";
alignment = "left";
vertical_alignment = "center";
width = "(0, 400)";
height = "(0, 400)";
scale = 0;
gap_size = 0;
progress_bar = true;
transparency = 0;
text_icon_padding = 0;
separator_color = "frame";
sort = "yes";
idle_threshold = 120;
line_height = 0;
markup = "full";
show_age_threshold = 60;
ellipsize = "middle";
ignore_newline = "no";
stack_duplicates = true;
sticky_history = "yes";
history_length = 20;
always_run_script = true;
corner_radius = 10;
font = "JetBrainsMono Nerd Font 10";
format = "<b>%s</b>\\n%b";
frame_width = 1;
offset = "(15, 15)";
horizontal_padding = 10;
icon_position = "left";
indicate_hidden = "yes";
min_icon_size = 0;
max_icon_size = 64;
mouse_left_click = "do_action, close_current";
mouse_middle_click = "close_current";
mouse_right_click = "close_all";
padding = 10;
separator_height = 2;
show_indicators = "yes";
shrink = "no";
word_wrap = "yes";
browser = "/usr/bin/env firefox -new-tab";
};
fullscreen_delay_everything = {
fullscreen = "delay";
};
};
};
}