aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMax Fisher <f.mach4@gmail.com>2017-05-07 23:40:19 +1000
committerMax Fisher <f.mach4@gmail.com>2017-05-12 21:50:41 +1000
commit2fe9d7bbd262f663e91f27b1876d26224950b2b2 (patch)
tree48085099d3414a1c66d2a7f9f23880f0c115e25a /man
parentb56cb84e16a342766d9a0b43e74bdadca22931bd (diff)
downloadi3-2fe9d7bbd262f663e91f27b1876d26224950b2b2.tar.gz
i3-2fe9d7bbd262f663e91f27b1876d26224950b2b2.zip
i3-nagbar: add button flag to execute action with /bin/sh directly.
Fixes #2765.
Diffstat (limited to 'man')
-rw-r--r--man/i3-nagbar.man14
1 files changed, 9 insertions, 5 deletions
diff --git a/man/i3-nagbar.man b/man/i3-nagbar.man
index 77fdd80b..7dd3a238 100644
--- a/man/i3-nagbar.man
+++ b/man/i3-nagbar.man
@@ -9,7 +9,7 @@ i3-nagbar - displays an error bar on top of your screen
== SYNOPSIS
-i3-nagbar [-m <message>] [-b <button> <action>] [-t warning|error] [-f <font>] [-v]
+i3-nagbar [-m <message>] [-b <button> <terminal-action>] [-B <button> <shell-action>] [-t warning|error] [-f <font>] [-v]
== OPTIONS
@@ -29,9 +29,13 @@ Display 'message' as text on the left of the i3-nagbar.
*-f, --font* 'font'::
Select font that is being used.
-*-b, --button* 'button' 'action'::
-Create a button with text 'button'. The 'action' are the shell commands that
-will be executed by this button. Multiple buttons can be defined.
+*-b, --button* 'button' 'terminal-action'::
+Adds a button labelled 'button' to the bar. When pressed, the command given
+in 'terminal-action' is executed inside a terminal emulator, via i3-sensible-terminal(1).
+Multiple buttons can be defined.
+
+*-B, --button-sh* 'button' 'shell-action'::
+Same as *--button*, except that the command given in 'shell-action' is executed directly by the shell.
== DESCRIPTION
@@ -49,7 +53,7 @@ i3-nagbar -m 'You have an error in your i3 config file!' \
== SEE ALSO
-i3(1)
+i3(1), i3-sensible-terminal(1)
== AUTHOR