1swaynag(5)                    File Formats Manual                   swaynag(5)
2
3
4

NAME

6       swaynag - swaynag configuration file
7

SYNOPSIS

9       $HOME/.swaynag/config, $XDG_CONFIG_HOME/swaynag/config,
10       SYSCONFDIR/swaynag/config
11

CONFIG FILE

13       At the top of the config file, swaynag options can be set using the
14       format long-option=value. These will be used as default values if sway‐
15       nag is not given the option. This can be useful for setting a preferred
16       font, output, and edge.
17
18       Below the options, custom types may be defined. To define a type, use
19       the following format:
20
21           [name-of-type]
22           option=value
23
24       All colors may be given in the form RRGGBB or RRGGBBAA. The following
25       colors can be set:
26
27       background=<color>
28           The background color for swaynag.
29
30       border=<color>
31           The color to use for borders of buttons.
32
33       border-bottom=<color>
34           The color of the border line at the bottom of swaynag.
35
36       button-background=<color>
37           The background color for the buttons.
38
39       text=<color>
40           The color of the text.
41
42       button-text=<color>
43           The color of the button text.
44
45       The following sizing options can also be set:
46
47       border-bottom-size=<size>
48           Set the thickness of the bottom border.
49
50       message-padding=<padding>
51           Set the padding for the message.
52
53       details-gackground=<color>
54           The background color for the details.
55
56       details-border-size=<size>
57           Set the thickness for the details border.
58
59       button-border-size=<size>
60           Set the thickness for the button border.
61
62       button-gap=<gap>
63           Set the size of the gap between buttons.
64
65       button-dismiss-gap=<gap>
66           Set the size of the gap between the dismiss button and another but‐
67           ton.
68
69       button-margin-right=<margin>
70           Set the margin from the right of the dismiss button to edge.
71
72       button-padding=<padding>
73           Set the padding for the button text.
74
75       Additionally, the following options can be assigned a default per-type:
76
77       edge=top|bottom
78           Set the edge to use.
79
80       font=<font>
81           Set the font to use.
82
83       output=<output>
84           Set the output to use. This should be the name of a xdg_output.
85

EXAMPLE

87           font=Monospace 12
88           edge=bottom
89
90           [green]
91           edge=top
92           background=00AA00
93           border=006600
94           border-bottom=004400
95           text=FFFFFF
96           button-background=00CC00
97           message-padding=10
98

SEE

100       swaynag(1)
101
102
103
104                                  2021-07-23                        swaynag(5)
Impressum