commands.sh

i3-nagbar

all

Display an error/warning in a bar on top of a screen.

More info →

Options (6)

-m, --messageboolean

Display an error

Example: i3-nagbar {{[-m|--message]}} "{{error message}}"
-t, --typeboolean

Display a warning

Example: i3-nagbar {{[-t|--type]}} warning {{[-m|--message]}} "{{warning message}}"
-f, --fontboolean

Use the specified font

Example: i3-nagbar {{[-f|--font]}} "{{pango:monospace bold 9}}" {{[-m|--message]}} "{{error message}}"
-b, --buttonboolean

Create 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-terminalboolean

Create a button and run a command on click

Example: i3-nagbar {{[-B|--button-no-terminal]}} "{{button text}}" {{command}} {{[-m|--message]}} "{{error message}}"
boolean

Always 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

i3-nagbar [-b|--button] "button text" command [-m|--message] "error message"

Create a button and run a command on click

i3-nagbar [-B|--button-no-terminal] "button text" command [-m|--message] "error message"

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