| 1 |
#compdef mako |
| 2 |
|
| 3 |
# Usage: mako [options...] |
| 4 |
|
| 5 |
|
| 6 |
# Colors can be specified with the format #RRGGBB or #RRGGBBAA. |
| 7 |
|
| 8 |
_arguments \ |
| 9 |
'-h[Show help message and quit.]' '--help[Show help message and quit.]' \ |
| 10 |
'--font[Font family and size.]:font:' \ |
| 11 |
'--background-color[Background color.]:color:' \ |
| 12 |
'--text-color[Text color.]:color:' \ |
| 13 |
'--width[Notification width.]:width:' \ |
| 14 |
'--height[Max notification height.]:height:' \ |
| 15 |
'--margin[Margin values, comma separated. Up to four values, with the same meaning as in CSS.]:margin:' \ |
| 16 |
'--padding[Padding values, comma separated. Up to four values, with the same meaning as in CSS.]:padding:' \ |
| 17 |
'--border-size[Border size.]:size:' \ |
| 18 |
'--border-color[Border color.]:color:' \ |
| 19 |
'--border-radius[Corner radius values, comma separated. Up to four values, with the same meaning as in CSS.]:radius:' \ |
| 20 |
'--icon-border-radius[Icon corner radius value.]:radius:' \ |
| 21 |
'--markup[Enable/disable markup.]:markup enabled:(0 1)' \ |
| 22 |
'--actions[Applications may request an action to be associated with activating a notification. Disabling this will cause mako to ignore these requests.]:action enabled:(0 1)' \ |
| 23 |
'--format[Format string.]:format:' \ |
| 24 |
'--hidden-format[Format string.]:format:' \ |
| 25 |
'--max-visible[Max number of visible notifications.]:visible notifications:' \ |
| 26 |
'--max-history[Max size of history buffer.]:historical notifications:' \ |
| 27 |
'--history[Add expired notification to history.]:history:' \ |
| 28 |
'--default-timeout[Default timeout in milliseconds.]:timeout (ms):' \ |
| 29 |
'--ignore-timeout[If set, mako will ignore the expire timeout sent by notifications and use the one provided by default-timeout instead.]:Use default timeout:(0 1)' \ |
| 30 |
'--output[Show notifications on this output.]:name:' \ |
| 31 |
'--layer[Arrange notifications at this layer.]:layer:(background bottom top overlay)' \ |
| 32 |
'--anchor[Position on output to put notifications.]:position:(top-right bottom-right bottom-center bottom-left top-left top-center center-right center-left center)' \ |
| 33 |
'--sort[Sort incoming notifications by time and/or priority in ascending(+) or descending(-) order.]:sort pattern:' |