diff --git a/options.xhtml b/options.xhtml index 1cf706fc8..9f49437c3 100644 --- a/options.xhtml +++ b/options.xhtml @@ -67389,6 +67389,150 @@ positive integer, meaning >0

+
+ + services.swaync.enable + + +
+
+

Whether to enable Swaync notification daemon.

+ +

Type: +boolean

+ +

Default: +false

+ +

Example: +true

+ +

Declared by:

+ + +
+ +<home-manager/modules/services/swaync.nix> + +
+
+
+ + services.swaync.package + + +
+
+

The swaynotificationcenter package to use.

+ +

Type: +package

+ +

Default: +pkgs.swaynotificationcenter

+ +

Declared by:

+ + +
+ +<home-manager/modules/services/swaync.nix> + +
+
+
+ + services.swaync.settings + + +
+
+

Configuration written to $XDG_CONFIG_HOME/swaync/config.json. +See +https://github.com/ErikReider/SwayNotificationCenter/blob/main/src/configSchema.json +for the documentation.

+ +

Type: +JSON value

+ +

Default: +{ }

+ +

Example:

{
+  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
+};
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/services/swaync.nix> + +
+
+
+ + services.swaync.style + + +
+
+

CSS style of the bar. See +https://github.com/ErikReider/SwayNotificationCenter/blob/main/src/style.css +for the documentation.

If the value is set to a path literal, then the path will be used as the CSS file.

+ +

Type: +null or path or strings concatenated with ā€œ\nā€

+ +

Default: +null

+ +

Example:

''
+  .notification-row {
+    outline: none;
+  }
+  
+  .notification-row:focus,
+  .notification-row:hover {
+    background: @noti-bg-focus;
+  }
+  
+  .notification {
+    border-radius: 12px;
+    margin: 6px 12px;
+    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.7),
+      0 2px 6px 2px rgba(0, 0, 0, 0.3);
+    padding: 0;
+  }
+''
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/services/swaync.nix> + +
+
services.swayosd.enable