1

Hyprland: Set dunst monitor to the waybar one

This commit is contained in:
2024-10-14 20:27:14 +02:00
parent d14e7c43f7
commit 506a2b833a

View File

@ -10,7 +10,7 @@
nixosConfig, nixosConfig,
... ...
}: let }: let
inherit (config.modules) hyprland color; inherit (config.modules) hyprland color waybar;
# This function is mapped to the "cfg.monitors" attrSet. # This function is mapped to the "cfg.monitors" attrSet.
# For each key-value entry in "cfg.monitors", # For each key-value entry in "cfg.monitors",
@ -312,7 +312,6 @@ in {
}; };
# Notification service # Notification service
# TODO: Allow setting the dunst monitor
dunst = { dunst = {
enable = true; enable = true;
@ -321,7 +320,7 @@ in {
settings = { settings = {
global = { global = {
monitor = 1; monitor = waybar.monitor;
font = "${color.font} 11"; font = "${color.font} 11";
offset = "10x10"; offset = "10x10";
background = "#${color.light.base}"; background = "#${color.light.base}";