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       The following sizing options can also be set:
43
44       border-bottom-size=<size>
45           Set the thickness of the bottom border.
46
47       message-padding=<padding>
48           Set the padding for the message.
49
50       details-border-size=<size>
51           Set the thickness for the details border.
52
53       button-border-size=<size>
54           Set the thickness for the button border.
55
56       button-gap=<gap>
57           Set the size of the gap between buttons.
58
59       button-dismiss-gap=<gap>
60           Set the size of the gap between the dismiss button and another but‐
61           ton.
62
63       button-margin-right=<margin>
64           Set the margin from the right of the dismiss button to edge.
65
66       button-padding=<padding>
67           Set the padding for the button text.
68
69       Additionally, the following options can be assigned a default per-type:
70
71       edge=top|bottom
72           Set the edge to use.
73
74       font=<font>
75           Set the font to use.
76
77       output=<output>
78           Set the output to use. This should be the name of a xdg_output.
79

EXAMPLE

81           font=Monospace 12
82           edge=bottom
83
84           [green]
85           edge=top
86           background=00AA00
87           border=006600
88           border-bottom=004400
89           text=FFFFFF
90           button-background=00CC00
91           message-padding=10
92

SEE

94       swaynag(1)
95
96
97
98                                  2020-02-26                        swaynag(5)
Impressum