aboutsummaryrefslogtreecommitdiff
path: root/swaynag/swaynag.1.scd
diff options
context:
space:
mode:
Diffstat (limited to 'swaynag/swaynag.1.scd')
-rw-r--r--swaynag/swaynag.1.scd9
1 files changed, 8 insertions, 1 deletions
diff --git a/swaynag/swaynag.1.scd b/swaynag/swaynag.1.scd
index bb69e47d..b25568a0 100644
--- a/swaynag/swaynag.1.scd
+++ b/swaynag/swaynag.1.scd
@@ -12,7 +12,14 @@ _swaynag_ [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.
+ If the environment variable `TERMINAL` is set, _action_ will be run inside
+ the terminal. Otherwise, it will fallback to running directly. Multiple
+ buttons can be defined by providing the flag multiple times.
+
+*-B, --button-no-terminal* <text> <action>
+ Create a button with the text _text_ that executes _action_ when pressed.
+ _action_ will be run directly instead of in a terminal. Multiple buttons
+ can be defined by providing the flag multiple times.
*-c, --config* <path>
The config file to use. By default, the following paths are checked: