From 14d2e5b06bea5e748d6a391e00348ccb325a72f1 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Mon, 24 Oct 2022 12:58:49 +0200 Subject: [PATCH] Use dunst in place of mako --- home/modules/linux/graphical/wayland.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/home/modules/linux/graphical/wayland.nix b/home/modules/linux/graphical/wayland.nix index 5f805b6..c6cf95b 100644 --- a/home/modules/linux/graphical/wayland.nix +++ b/home/modules/linux/graphical/wayland.nix @@ -16,9 +16,23 @@ with lib; ]; # Notification system - programs.mako = { + services.dunst = { enable = true; - borderRadius = 5; + settings.global.follow = "keyboard"; + + settings.global.width = "(400, 800)"; + settings.global.notification_limit = 5; + + settings.global.font = "Monospace 12"; + + settings.global.dmenu = "${pkgs.bemenu}/bin/bemenu"; + settings.global.browser = "${pkgs.firefox-wayland}/bin/firefox"; + + settings.global.mouse_left_click = "do_action, close_current"; + settings.global.mouse_right_click = "close_current"; + settings.global.mouse_middle_click = "close_all"; + + settings.experimental.per_monitor_dpi = "true"; }; # Forward wallpaper settings to sway