From 20d733e16a33a37dfbc7e86f23500cd4194d3b58 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Mon, 9 Jan 2023 10:13:26 +0100 Subject: [PATCH] Improved dunst configuration --- hm_modules/dunst.nix | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/hm_modules/dunst.nix b/hm_modules/dunst.nix index af8dddf..d4f21cc 100644 --- a/hm_modules/dunst.nix +++ b/hm_modules/dunst.nix @@ -12,18 +12,20 @@ in }; settings = { global = { - width = "(0, 320)"; - height = 320; - notification_limit = 10; - transparency = 100 - float.round (pkgs.rice.opacity * 100); - frame_width = 1; - frame_color = strPalette.normal.blue; - separator_color = strPalette.normal.blue; - font = "${pkgs.rice.font.normal.name} 10"; - dmenu = "${pkgs.rofi}/bin/rofi -dmenu -p dunst:"; browser = "${pkgs.xdg-utils}/bin/xdg-open"; # corner_radius = 8; + dmenu = "${pkgs.rofi}/bin/rofi -dmenu -p dunst:"; + follow = "keyboard"; + font = "${pkgs.rice.font.normal.name} 10"; + frame_color = strPalette.normal.blue; + frame_width = 1; + height = 320; mouse_middle_click = "context"; + notification_limit = 10; + offset = "7x28"; + separator_color = strPalette.normal.blue; + transparency = 100 - float.round (pkgs.rice.opacity * 100); + width = "(0, 320)"; }; urgency_low = { inherit (strPalette) background foreground;