aboutsummaryrefslogtreecommitdiffstats
path: root/home/dunst
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2024-05-23 09:44:38 +0300
committerPetri Hienonen <petri.hienonen@gmail.com>2024-05-23 09:44:38 +0300
commit75c2af4aedd2ac5c2cfc74b346625fa4b265541d (patch)
treef0a58a6c699dc305ae8f506a806761ad7e57029c /home/dunst
downloadnixos-75c2af4aedd2ac5c2cfc74b346625fa4b265541d.tar.zst
Nixos
Diffstat (limited to 'home/dunst')
-rw-r--r--home/dunst/default.nix75
1 files changed, 75 insertions, 0 deletions
diff --git a/home/dunst/default.nix b/home/dunst/default.nix
new file mode 100644
index 0000000..8a5f4ad
--- /dev/null
+++ b/home/dunst/default.nix
@@ -0,0 +1,75 @@
+{ config, pkgs, ... }: {
+ services.dunst = {
+ enable = true;
+ settings = {
+ global = {
+ alignment = "center";
+ allow_markup = true;
+ browser =
+ "${config.programs.firefox.package}/bin/firefox -new-tab";
+ bounce_freq = 0;
+ corner_radius = 5;
+ dmenu = "${pkgs.rofi}/bin/rofi -dmenu";
+ follow = "mouse";
+ font = "Fira Code 10";
+ format = ''
+ <b>%s</b>
+ %b
+ %p'';
+ frame_color = "#555555";
+ frame_width = 2;
+ geometry = "400-30+30";
+ horizontal_padding = 15;
+ icon_position = "off";
+ idle_threshold = 120;
+ ignore_newline = false;
+ indicate_hidden = true;
+ line_height = 0;
+ markup = "full";
+ max_icon_size = 130;
+ padding = 15;
+ separator_color = "frame";
+ separator_height = 2;
+ show_age_threshold = 60;
+ shrink = true;
+ sort = true;
+ startup_notification = false;
+ sticky_history = true;
+ transparency = 0;
+ word_wrap = true;
+ };
+
+ frame = {
+ width = 2;
+ color = "#83a598";
+ };
+
+ urgency_low = {
+ frame_color = "#fabd2f";
+ background = "#282828";
+ foreground = "#ebdbb2";
+ timeout = 5;
+ };
+
+ urgency_normal = {
+ background = "#282828";
+ foreground = "#ebdbb2";
+ timeout = 15;
+ };
+
+ urgency_critical = {
+ background = "#282828";
+ foreground = "#ebdbb2";
+ frame_color = "#CC241D";
+ timeout = 0;
+ };
+
+ shortcuts = {
+ close = "ctrl+space";
+ close_all = "ctrl+shift+space";
+ history = "ctrl+grave";
+ context = "ctrl+shift+period";
+ };
+ };
+ };
+}