diff --git a/home-manager/modules/default.nix b/home-manager/modules/default.nix index 0d26cbc..4e1ae2e 100644 --- a/home-manager/modules/default.nix +++ b/home-manager/modules/default.nix @@ -8,6 +8,7 @@ ./hyprland ./neovim.nix ./starship.nix + ./swaync.nix ./tmux.nix ./waybar ./zsh.nix diff --git a/home-manager/modules/swaync.nix b/home-manager/modules/swaync.nix new file mode 100644 index 0000000..fb7a53f --- /dev/null +++ b/home-manager/modules/swaync.nix @@ -0,0 +1,22 @@ +{ + services.swaync = { + enable = true; + settings = { + positionX = "right"; + positionY = "top"; + layer = "overlay"; + control-center-layer = "top"; + layer-shell = true; + cssPriority = "application"; + control-center-margin-top = 0; + control-center-margin-bottom = 0; + control-center-margin-right = 0; + control-center-margin-left = 0; + notification-2fa-action = true; + notification-inline-replies = false; + notification-icon-size = 64; + notification-body-image-height = 100; + notification-body-image-width = 200; + }; + }; +}