add notification toggle
All checks were successful
Flake check / flake-check (pull_request) Successful in 22s
Build tests / build-hosts (pull_request) Successful in 29s

This commit is contained in:
sid 2026-05-10 23:24:41 +02:00
parent 9a659b4580
commit 6991318eb9
5 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.wayland.windowManager.hyprland;
app = cfg.applications.notifications.default;
inherit (lib) mkIf;
in
{
config = mkIf (cfg.enable && app == "dunst-toggle") {
home.packages = [ (import ./dunst-toggle.nix { inherit config pkgs; }) ];
};
}