aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swaynag/swaynag.1.scd3
-rw-r--r--swaynag/swaynag.5.scd3
2 files changed, 6 insertions, 0 deletions
diff --git a/swaynag/swaynag.1.scd b/swaynag/swaynag.1.scd
index 12787c3c..1c395aee 100644
--- a/swaynag/swaynag.1.scd
+++ b/swaynag/swaynag.1.scd
@@ -9,6 +9,7 @@ swaynag - Show a warning or error message with buttons
_swaynag_ [options...]
# OPTIONS
+
*-b, --button* <text> <action>
Create a button with the text _text_ that executes _action_ when pressed.
Multiple buttons can be defined by providing the flag multiple times.
@@ -60,6 +61,7 @@ _swaynag_ [options...]
Show the version number and quit.
# APPEARANCE OPTIONS
+
*--background* <RRGGBB[AA]>
Set the color of the background.
@@ -100,4 +102,5 @@ _swaynag_ [options...]
Set the padding for the button text.
# SEE
+
swaynag(5)
diff --git a/swaynag/swaynag.5.scd b/swaynag/swaynag.5.scd
index e2348d8b..d3daadf7 100644
--- a/swaynag/swaynag.5.scd
+++ b/swaynag/swaynag.5.scd
@@ -10,6 +10,7 @@ $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
@@ -79,6 +80,7 @@ Additionally, the following options can be assigned a default per-type:
Set the output to use. This should be the name of a _xdg\_output_.
# EXAMPLE
+
```
font=Monospace 12
edge=bottom
@@ -94,4 +96,5 @@ message-padding=10
```
# SEE
+
swaynag(1)