table of contents
swaynag(5) | File Formats Manual | swaynag(5) |
NAME¶
swaynag - swaynag configuration file
SYNOPSIS¶
$HOME/.swaynag/config, $XDG_CONFIG_HOME/swaynag/config, SYSCONFDIR/swaynag/config
CONFIG FILE¶
At the top of the config file, swaynag options can be set using the format long-option=value. These will be used as default values if swaynag is not given the option. This can be useful for setting a preferred font, output, and edge.
Below the options, custom types may be defined. To define a type, use the following format:
[name-of-type] option=value
All colors may be given in the form RRGGBB or RRGGBBAA. The following colors can be set:
background=<color>
border=<color>
border-bottom=<color>
button-background=<color>
text=<color>
button-text=<color>
The following sizing options can also be set:
border-bottom-size=<size>
message-padding=<padding>
details-background=<color>
details-border-size=<size>
button-border-size=<size>
button-gap=<gap>
button-dismiss-gap=<gap>
button-margin-right=<margin>
button-padding=<padding>
Additionally, the following options can be assigned a default per-type:
edge=top|bottom
layer=overlay|top|bottom|background
font=<font>
output=<output>
EXAMPLE¶
font=Monospace 12 edge=bottom [green] edge=top background=00AA00 border=006600 border-bottom=004400 text=FFFFFF button-background=00CC00 message-padding=10
SEE¶
2024-08-13 |