summaryrefslogtreecommitdiff
path: root/common/programs/dunst.nix
diff options
context:
space:
mode:
authorbeeb5k <beebeeb5k@gmail.com>2026-06-06 15:59:26 +0530
committerbeeb5k <beebeeb5k@gmail.com>2026-06-06 15:59:26 +0530
commit54471f0faf2697e55e01ed4a276de0cd921a7c30 (patch)
treedc661f9d2c1c2c623072f81fc6b97f9c2fb6c1aa /common/programs/dunst.nix
parent2709c6aa130f5eea8414573fa1a7c8a18607ad8d (diff)
Add noctalia niri and way to switch between my config and noxtalia easily
Diffstat (limited to 'common/programs/dunst.nix')
-rw-r--r--common/programs/dunst.nix50
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";
+ };
};
};
};