From 54471f0faf2697e55e01ed4a276de0cd921a7c30 Mon Sep 17 00:00:00 2001 From: beeb5k Date: Sat, 6 Jun 2026 15:59:26 +0530 Subject: Add noctalia niri and way to switch between my config and noxtalia easily --- common/programs/dunst.nix | 50 ++++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 24 deletions(-) (limited to 'common/programs/dunst.nix') diff --git a/common/programs/dunst.nix b/common/programs/dunst.nix index c5b5eb0..78aadf5 100644 --- a/common/programs/dunst.nix +++ b/common/programs/dunst.nix @@ -10,31 +10,33 @@ let ''; in { - services.dunst = { - enable = true; - settings = { - global = { - font = "IosevkaInput 11"; - corner_radius = 0; - frame_width = 2; - markup = "yes"; - browser = "librewolf"; + config = lib.mkIf config.beeMods.windowManagers.beeConfig.enable { + services.dunst = { + enable = true; + settings = { + global = { + font = "IosevkaInput 11"; + corner_radius = 0; + frame_width = 2; + markup = "yes"; + browser = "librewolf"; - origin = "top-center"; - offset = "(0, 4)"; - }; - urgency_low = { - timeout = 3; - }; - urgency_normal = { - timeout = 5; - }; - urgency_critical = { - timeout = 0; - }; - play_sound = { - summary = "*"; - script = "${playSound}/bin/play-notification-sound"; + origin = "top-center"; + offset = "(0, 4)"; + }; + urgency_low = { + timeout = 3; + }; + urgency_normal = { + timeout = 5; + }; + urgency_critical = { + timeout = 0; + }; + play_sound = { + summary = "*"; + script = "${playSound}/bin/play-notification-sound"; + }; }; }; }; -- cgit v1.3.1