Options (6)
-m, --messagebooleanDisplay an error
Example:
i3-nagbar {{[-m|--message]}} "{{error message}}"-t, --typebooleanDisplay a warning
Example:
i3-nagbar {{[-t|--type]}} warning {{[-m|--message]}} "{{warning message}}"-f, --fontbooleanUse the specified font
Example:
i3-nagbar {{[-f|--font]}} "{{pango:monospace bold 9}}" {{[-m|--message]}} "{{error message}}"-b, --buttonbooleanCreate a button and run a command in a terminal on click
Example:
i3-nagbar {{[-b|--button]}} "{{button text}}" {{command}} {{[-m|--message]}} "{{error message}}"-B, --button-no-terminalbooleanCreate a button and run a command on click
Example:
i3-nagbar {{[-B|--button-no-terminal]}} "{{button text}}" {{command}} {{[-m|--message]}} "{{error message}}"booleanAlways open `i3-nagbar` on the primary monitor (default: focused monitor)
Example:
i3-nagbar {{[-pm|--primary --message]}} "{{error message}}"Examples (6)
Display an error
i3-nagbar [-m|--message] "error message"Display a warning
i3-nagbar [-t|--type] warning [-m|--message] "warning message"Use the specified font
i3-nagbar [-f|--font] "pango:monospace bold 9" [-m|--message] "error message"Create a button and run a command in a terminal on click
Create a button and run a command on click
Always open `i3-nagbar` on the primary monitor (default: focused monitor)
i3-nagbar [-pm|--primary --message] "error message"made by @shridhargupta | data from tldr-pages