From 4531ec7b10c66185c20237efec8265d294c407cd Mon Sep 17 00:00:00 2001
From: khaneliman
Whether to enable Mako, lightweight notification daemon for Wayland -.
+Whether to enable mako.
Type: boolean
@@ -79423,196 +79422,31 @@ packageservices.mako.actions
+ services.mako.criterias
Applications may request an action to be associated with activating a -notification. Disabling this will cause mako to ignore these requests.
+Criterias for mako’s config. All the details can be found in the +CRITERIA section in the official documentation.
Type: -null or boolean
+attribute set of attribute set of stringDefault:
-true
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.anchor
-
-
-Show notifications at the specified position on the output. -Supported values are top-right, top-center, top-left, bottom-right, -bottom-center, bottom-left, center-right, center-left and center.
- -Type: -null or one of “top-right”, “top-center”, “top-left”, “bottom-right”, “bottom-center”, “bottom-left”, “center-right”, “center-left”, “center”
- -Default:
-"top-right"
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.backgroundColor
-
-
-Set popup background color to a specific color, represented in hex -color code.
- -Type: -null or string
- -Default:
-"#285577FF"
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.borderColor
-
-
-Set popup border color to a specific color, represented in hex color -code.
- -Type: -null or string
- -Default:
-"#4C7899FF"
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.borderRadius
-
-
-Set popup corner radius to the specified number of pixels.
- -Type: -null or signed integer
- -Default:
-0
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.borderSize
-
-
-Set popup border size to the specified number of pixels.
- -Type: -null or signed integer
- -Default:
-1
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.defaultTimeout
-
-
-Set the default timeout to timeout in milliseconds. To disable the -timeout, set it to zero.
- -Type: -null or signed integer
- -Default:
-0
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.extraConfig
-
-
-Additional configuration.
- -Type: -strings concatenated with “\n”
- -Default:
-""
Example:
[urgency=low]
-border-color=#b8bb26
+{ }
+Example:
{
+ "actionable=true" = {
+ anchor = "top-left";
+ };
+ "app-name=Google\\ Chrome" = {
+ max-visible = "5";
+ };
+ "field1=value field2=value" = {
+ text-alignment = "left";
+ };
+}
Declared by:
@@ -79626,489 +79460,39 @@ border-color=#b8bb26
services.mako.font
+ services.mako.settings
Font to use, in Pango format.
+Configuration settings for mako. All available options can be found +here: https://github.com/emersion/mako/blob/master/doc/mako.5.scd.
Type: -null or string
+attribute set of stringDefault:
-"monospace 10"
{ }
-Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.format
-
-
-Set notification format string to format. See FORMAT SPECIFIERS for -more information. To change this for grouped notifications, set it -within a grouped criteria.
- -Type: -null or string
- -Default:
-"<b>%s</b>\\n%b"
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.groupBy
-
-
-A comma-separated list of criteria fields that will be compared to -other visible notifications to determine if this one should form a -group with them. All listed criteria must be exactly equal for two -notifications to group.
- -Type: -null or string
- -Default:
-null
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.height
-
-
-Set maximum height of notification popups. Notifications whose text -takes up less space are shrunk to fit.
- -Type: -null or signed integer
- -Default:
-100
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.iconPath
-
-
-Paths to search for icons when a notification specifies a name -instead of a full path. Colon-delimited. This approximates the search -algorithm used by the XDG Icon Theme Specification, but does not -support any of the theme metadata. Therefore, if you want to search -parent themes, you’ll need to add them to the path manually.
The /usr/share/icons/hicolor and
-/usr/share/pixmaps directories are
-always searched.
Type: -null or string
- -Default:
-null
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.icons
-
-
-Whether or not to show icons in notifications.
- -Type: -null or boolean
- -Default:
-true
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.ignoreTimeout
-
-
-If set, mako will ignore the expire timeout sent by notifications -and use the one provided by default-timeout instead.
- -Type: -null or boolean
- -Default:
-false
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.layer
-
-
-Arrange mako at the specified layer, relative to normal windows. -Supported values are background, bottom, top, and overlay. Using -overlay will cause notifications to be displayed above fullscreen -windows, though this may also occur at top depending on your -compositor.
- -Type: -null or one of “background”, “bottom”, “top”, “overlay”
- -Default:
-"top"
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.margin
-
-
-Set margin of each edge specified in pixels. Specify single value to -apply margin on all sides. Two comma-separated values will set -vertical and horizontal edges separately. Four comma-separated will -give each edge a separate value. -For example: 10,20,5 will set top margin to 10, left and right to 20 -and bottom to five.
- -Type: -null or string
- -Default:
-"10"
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.markup
-
-
-If 1, enable Pango markup. If 0, disable Pango markup. If enabled, -Pango markup will be interpreted in your format specifier and in the -body of notifications.
- -Type: -null or boolean
- -Default:
-true
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.maxHistory
-
-
-Set maximum number of expired notifications to keep in the history -buffer. Set 0 to disable history.
- -Type: -null or signed integer
- -Default:
-5
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.maxIconSize
-
-
-Set maximum icon size to the specified number of pixels.
- -Type: -null or signed integer
- -Default:
-64
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.maxVisible
-
-
-Set maximum number of visible notifications. Set -1 to show all.
- -Type: -null or signed integer
- -Default:
-5
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.output
-
-
-Show notifications on the specified output. If empty, notifications -will appear on the focused output. Requires the compositor to support -the Wayland protocol xdg-output-unstable-v1 version 2.
- -Type: -null or string
- -Default:
-null
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.padding
-
-
-Set padding of each edge specified in pixels. Specify single value to -apply margin on all sides. Two comma-separated values will set -vertical and horizontal edges separately. Four comma-separated will -give each edge a separate value. -For example: 10,20,5 will set top margin to 10, left and right to 20 -and bottom to five.
- -Type: -null or string
- -Default:
-"5"
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.progressColor
-
-
-Set popup progress indicator color to a specific color,
-represented in hex color code. To draw the progress
-indicator on top of the background color, use the
-over attribute. To replace the background
-color, use the source attribute (this can
-be useful when the notification is semi-transparent).
Type: -null or string
- -Default:
-"over #5588AAFF"
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.sort
-
-
-Sorts incoming notifications by time and/or priority in ascending(+) -or descending(-) order.
- -Type: -null or one of “+time”, “-time”, “+priority”, “-priority”
- -Default:
-"-time"
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.textColor
-
-
-Set popup text color to a specific color, represented in hex color -code.
- -Type: -null or string
- -Default:
-"#FFFFFFFF"
Declared by:
-
-
-<home-manager/modules/services/mako.nix>
-
- |
services.mako.width
-
-
-Set width of notification popups in specified number of pixels.
- -Type: -null or signed integer
- -Default:
-300
Example:
''
+ {
+ actions = "true";
+ anchor = "top-right";
+ backgroundColor = "#000000";
+ borderColor = "#FFFFFF";
+ borderRadius = "0";
+ defaultTimeout = "0";
+ font = "monospace 10";
+ height = "100";
+ width = "300";
+ icons = "true";
+ ignoreTimeout = "false";
+ layer = "top";
+ margin = "10";
+ markup = "true";
+ }
+''
+
Declared by: