Support a detailed message in swaynagbar

This commit is contained in:
Brian Ashworth 2018-07-27 01:30:35 -04:00
parent 88bc4b528e
commit 72db10c2f1
5 changed files with 321 additions and 14 deletions

View file

@ -25,6 +25,15 @@ _swaynagbar_ [options...]
*-h, --help*
Show help message and quit.
*-l, --detailed-message <msg>*
Set the detailed message. A button to toggle details will be added. Details
are shown in a scrollable multi-line text area. If _msg_ is _-_, then the
detailed message will be read from stdin.
*-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_.
*-m, --message <msg>*
Set the message text.
@ -33,6 +42,9 @@ _swaynagbar_ [options...]
_xdg\_output\_manager_ is not supported, then the first detected output
will be used
*-s, --dismiss-button <text>*
Sets the text for the dismiss nagbar button. The default is _X_.
*-t, --type error|warning*
Set the message type.