Files
nixos-thinkpad/desktop/home/dunst/default.nix
T
2026-04-19 17:12:27 +02:00

55 lines
1.2 KiB
Nix
Executable File

{ config, lib, pkgs, ... }:
{
services.dunst = {
enable = true;
settings = { #TODO: Write my own config, this one is temporary from GGORG0 on Github
global = {
width = 450;
shrink = "no";
follow = "mouse";
progress_bar = true;
progress_bar_max_width = 430;
transparency = 25;
frame_color = "#89B4FA";
idle_threshold = 120;
font = "JetBrainsMono Nerd Font Mono 12";
format = "<small>%a</small>\\n<b>%s</b>\\n%b";
alignment = "right";
word_wrap = "yes";
ellipsize = "end";
icon_position = "right";
min_icon_size = 0;
max_icon_size = 64;
history_length = 50;
browser = "${lib.getExe pkgs.librewolf} -new-tab"; # TODO: get the browser from an option
dmenu = "${lib.getExe config.programs.rofi.package} -dmenu -p dunst:";
corner_radius = 20;
mouse_left_click = "do_action, close_current";
mouse_middle_click = "close_all";
mouse_right_click = "close_current";
};
};
};
# Catppuccin!
catppuccin.dunst = {
enable = true;
flavor = "mocha";
};
}