diff options
Diffstat (limited to 'common/programs/dunst.nix')
| -rw-r--r-- | common/programs/dunst.nix | 50 |
1 files changed, 26 insertions, 24 deletions
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"; + }; }; }; }; |
