diff options
Diffstat (limited to 'swaynag/swaynag.5.scd')
-rw-r--r-- | swaynag/swaynag.5.scd | 52 |
1 files changed, 46 insertions, 6 deletions
diff --git a/swaynag/swaynag.5.scd b/swaynag/swaynag.5.scd index a4e05e3a..e2348d8b 100644 --- a/swaynag/swaynag.5.scd +++ b/swaynag/swaynag.5.scd | |||
@@ -20,37 +20,77 @@ following format: | |||
20 | 20 | ||
21 | ``` | 21 | ``` |
22 | [name-of-type] | 22 | [name-of-type] |
23 | color=RRGGBB[AA] | 23 | option=value |
24 | ``` | 24 | ``` |
25 | 25 | ||
26 | All colors may be given in the form _RRGGBB_ or _RRGGBBAA_. The following | 26 | All colors may be given in the form _RRGGBB_ or _RRGGBBAA_. The following |
27 | colors can be set: | 27 | colors can be set: |
28 | 28 | ||
29 | *background* | 29 | *background=<color>* |
30 | The background color for _swaynag_. | 30 | The background color for _swaynag_. |
31 | 31 | ||
32 | *border* | 32 | *border=<color>* |
33 | The color to use for borders of buttons. | 33 | The color to use for borders of buttons. |
34 | 34 | ||
35 | *border-bottom* | 35 | *border-bottom=<color>* |
36 | The color of the border line at the bottom of _swaynag_. | 36 | The color of the border line at the bottom of _swaynag_. |
37 | 37 | ||
38 | *button-background* | 38 | *button-background=<color>* |
39 | The background color for the buttons. | 39 | The background color for the buttons. |
40 | 40 | ||
41 | *text* | 41 | *text=<color>* |
42 | The color of the text. | 42 | The color of the text. |
43 | 43 | ||
44 | The following sizing options can also be set: | ||
45 | |||
46 | *border-bottom-size=<size>* | ||
47 | Set the thickness of the bottom border. | ||
48 | |||
49 | *message-padding=<padding>* | ||
50 | Set the padding for the message. | ||
51 | |||
52 | *details-border-size=<size>* | ||
53 | Set the thickness for the details border. | ||
54 | |||
55 | *button-border-size=<size>* | ||
56 | Set the thickness for the button border. | ||
57 | |||
58 | *button-gap=<gap>* | ||
59 | Set the size of the gap between buttons. | ||
60 | |||
61 | *button-dismiss-gap=<gap>* | ||
62 | Set the size of the gap between the dismiss button and another button. | ||
63 | |||
64 | *button-margin-right=<margin>* | ||
65 | Set the margin from the right of the dismiss button to edge. | ||
66 | |||
67 | *button-padding=<padding>* | ||
68 | Set the padding for the button text. | ||
69 | |||
70 | Additionally, the following options can be assigned a default per-type: | ||
71 | |||
72 | *edge=top|bottom* | ||
73 | Set the edge to use. | ||
74 | |||
75 | *font=<font>* | ||
76 | Set the font to use. | ||
77 | |||
78 | *output=<output>* | ||
79 | Set the output to use. This should be the name of a _xdg\_output_. | ||
80 | |||
44 | # EXAMPLE | 81 | # EXAMPLE |
45 | ``` | 82 | ``` |
46 | font=Monospace 12 | 83 | font=Monospace 12 |
84 | edge=bottom | ||
47 | 85 | ||
48 | [green] | 86 | [green] |
87 | edge=top | ||
49 | background=00AA00 | 88 | background=00AA00 |
50 | border=006600 | 89 | border=006600 |
51 | border-bottom=004400 | 90 | border-bottom=004400 |
52 | text=FFFFFF | 91 | text=FFFFFF |
53 | button-background=00CC00 | 92 | button-background=00CC00 |
93 | message-padding=10 | ||
54 | ``` | 94 | ``` |
55 | 95 | ||
56 | # SEE | 96 | # SEE |