From 028b282d0c10a676c6c7c6e10eb10b134cf79397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Fri, 9 Jan 2026 12:36:55 +0100 Subject: [PATCH] dunst: remove --- configs/default.nix | 1 - configs/dunst.nix | 65 --------------------------------------------- 2 files changed, 66 deletions(-) delete mode 100644 configs/dunst.nix diff --git a/configs/default.nix b/configs/default.nix index ba4b9ed..f2576f1 100644 --- a/configs/default.nix +++ b/configs/default.nix @@ -207,7 +207,6 @@ in ./clipboard.nix ./cloud.nix ./direnv.nix - ./dunst.nix ./fonts.nix ./fzf.nix ./git.nix diff --git a/configs/dunst.nix b/configs/dunst.nix deleted file mode 100644 index 4601962..0000000 --- a/configs/dunst.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ - lib, - pkgs, - ... -}: -let - sgr = code: string: ''\u001b[${code}m${string}\u001b[0m''; -in -{ - environment.systemPackages = [ - (pkgs.writers.writeDashBin "notifications" '' - ${pkgs.dunst}/bin/dunstctl history \ - | ${pkgs.jq}/bin/jq -r ' - .data[] - | map("${sgr "90" ''\(.appname.data)''} ${sgr "1" ''\(.summary.data)''} ${sgr "31" ''\(.body.data | gsub("\n"; " | "))''}") - | join("\n")' - '') - ]; - - home-manager.users.me.services.dunst = { - enable = false; - settings = { - global = { - transparency = 10; - geometry = "200x5-30+20"; - follow = "mouse"; - indicate_hidden = true; - notification_height = 0; - separator_height = 2; - padding = 8; - horizontal_padding = 8; - sort = true; - markup = "full"; - format = "%a\\n%s\\n%b"; - alignment = "left"; - show_age_threshold = 60; - bounce_freq = 0; - word_wrap = true; - ellipsize = "middle"; - ignore_newline = false; - stack_duplicates = true; - hide_duplicate_count = false; - max_icon_size = 32; - sticky_history = true; - history_length = 20; - dmenu = "${pkgs.rofi}/bin/rofi -display-run dunst -show run"; - browser = lib.getExe pkgs.niveum-browser; - verbosity = "mesg"; - corner_radius = 0; - mouse_left_click = "do_action"; - mouse_right_click = "close_current"; - mouse_middle_click = "close_all"; - }; - urgency_low = { - timeout = 5; - }; - urgency_normal = { - timeout = 10; - }; - urgency_critical = { - timeout = 0; - }; - }; - }; -}