From 88820c1ff529c02ea81c0ce116ce283caeec5307 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Mon, 14 Oct 2024 20:27:14 +0200 Subject: [PATCH] Hyprland: Set dunst monitor to the waybar one --- home/modules/hyprland/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/home/modules/hyprland/default.nix b/home/modules/hyprland/default.nix index 5eb377d0..b37b2189 100644 --- a/home/modules/hyprland/default.nix +++ b/home/modules/hyprland/default.nix @@ -10,7 +10,7 @@ nixosConfig, ... }: let - inherit (config.modules) hyprland color; + inherit (config.modules) hyprland color waybar; # This function is mapped to the "cfg.monitors" attrSet. # For each key-value entry in "cfg.monitors", @@ -312,7 +312,6 @@ in { }; # Notification service - # TODO: Allow setting the dunst monitor dunst = { enable = true; @@ -321,7 +320,7 @@ in { settings = { global = { - monitor = 1; + monitor = waybar.monitor; font = "${color.font} 11"; offset = "10x10"; background = "#${color.light.base}";