You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.2 KiB
53 lines
1.2 KiB
6 years ago
|
swaynagbar(1)
|
||
|
|
||
|
# NAME
|
||
|
|
||
6 years ago
|
swaynag - Show a warning or error message with buttons
|
||
6 years ago
|
|
||
|
# SYNOPSIS
|
||
|
|
||
6 years ago
|
_swaynag_ [options...]
|
||
6 years ago
|
|
||
|
# 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.
|
||
|
|
||
|
*-d, --debug*
|
||
|
Enable debugging.
|
||
|
|
||
|
*-e, --edge top|bottom*
|
||
|
Set the edge to use.
|
||
|
|
||
|
*-f, --font <font>*
|
||
|
Set the font to use.
|
||
|
|
||
|
*-h, --help*
|
||
|
Show help message and quit.
|
||
|
|
||
6 years ago
|
*-l, --detailed-message*
|
||
|
Read a detailed message from stdin. A button to toggle details will be
|
||
|
added. Details are shown in a scrollable multi-line text area.
|
||
6 years ago
|
|
||
|
*-L, --detailed-button <text>*
|
||
|
Set the text for the button that toggles details. This has no effect if
|
||
|
there is not a detailed message. The default is _Toggle Details_.
|
||
|
|
||
6 years ago
|
*-m, --message <msg>*
|
||
|
Set the message text.
|
||
|
|
||
|
*-o, --output <output>*
|
||
|
Set the output to use. This should be the name of a _xdg\_output_. If
|
||
|
_xdg\_output\_manager_ is not supported, then the first detected output
|
||
|
will be used
|
||
|
|
||
6 years ago
|
*-s, --dismiss-button <text>*
|
||
|
Sets the text for the dismiss nagbar button. The default is _X_.
|
||
|
|
||
6 years ago
|
*-t, --type error|warning*
|
||
|
Set the message type.
|
||
|
|
||
|
*-v, --version
|
||
|
Show the version number and quit.
|
||
|
|