Skip to content

Commit 817adbe

Browse files
committed
Add docs for titlebar options
1 parent 6493b37 commit 817adbe

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

mako.5.scd

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ _none_, _dismiss_, _dismiss-all_, _dismiss-group_, _invoke-default-action_,
9090

9191
Default: #285577FF
9292

93+
*title-color* = _color_
94+
Set text color to _color_. See *COLORS* for more information.
95+
96+
Default: #FFFFFFFF
97+
9398
*text-color* = _color_
9499
Set text color to _color_. See *COLORS* for more information.
95100

@@ -118,13 +123,20 @@ _none_, _dismiss_, _dismiss-all_, _dismiss-group_, _invoke-default-action_,
118123

119124
Default: 5
120125

126+
*title-padding* = _directional_
127+
Set padding on each side of the title (in the titlebar) to the size
128+
specified by _directional_. See *DIRECTIONAL VALUES* for more information.
129+
130+
Default: 5
131+
121132
*border-size* = _px_
122133
Set popup border size to _px_ pixels.
123134

124135
Default: 1
125136

126137
*border-color* = _color_
127138
Set popup border color to _color_. See *COLORS* for more information.
139+
The titlebar background will be the same color as *border-color*.
128140

129141
Default: #4C7899FF
130142

@@ -191,6 +203,14 @@ _none_, _dismiss_, _dismiss-all_, _dismiss-group_, _invoke-default-action_,
191203
Default: <b>%s</b>\\n%b
192204
Default when grouped: (%g) <b>%s</b>\\n%b
193205

206+
*title-format* = _format_
207+
Set title format string to _format_. See *FORMAT SPECIFIERS* for
208+
more information. To change this for grouped notifications, set it within
209+
a _grouped_ criteria.
210+
If there is no format set, the titlebar won't be rendered.
211+
212+
Default: "" (empty string)
213+
194214
*default-timeout* = _timeout_
195215
Set the default timeout to _timeout_ in milliseconds. To disable the
196216
timeout, set it to zero.

0 commit comments

Comments
 (0)