aboutsummaryrefslogtreecommitdiffstats
path: root/swaynag/swaynag.5.scd
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-07-29 22:42:03 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-08-01 22:47:54 -0400
commite01acb6097b583fcf2f6d0e0afe1bd878dd9b683 (patch)
treecf3e715870bb22d9ef7d5bee9457fdcc70e31ee2 /swaynag/swaynag.5.scd
parentswaynag: add math to meson.build (diff)
downloadsway-e01acb6097b583fcf2f6d0e0afe1bd878dd9b683.tar.gz
sway-e01acb6097b583fcf2f6d0e0afe1bd878dd9b683.tar.zst
sway-e01acb6097b583fcf2f6d0e0afe1bd878dd9b683.zip
swaynag: allow more config options
Diffstat (limited to 'swaynag/swaynag.5.scd')
-rw-r--r--swaynag/swaynag.5.scd52
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]
23color=RRGGBB[AA] 23option=value
24``` 24```
25 25
26All colors may be given in the form _RRGGBB_ or _RRGGBBAA_. The following 26All colors may be given in the form _RRGGBB_ or _RRGGBBAA_. The following
27colors can be set: 27colors 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
44The 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
70Additionally, 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```
46font=Monospace 12 83font=Monospace 12
84edge=bottom
47 85
48[green] 86[green]
87edge=top
49background=00AA00 88background=00AA00
50border=006600 89border=006600
51border-bottom=004400 90border-bottom=004400
52text=FFFFFF 91text=FFFFFF
53button-background=00CC00 92button-background=00CC00
93message-padding=10
54``` 94```
55 95
56# SEE 96# SEE