mangonag(1)

πŸ“¦ version 0.18.4, in arch rolling, nixpkgs unstable

πŸ’… mangonag(1) β€” the nag bar bestie 🫢

πŸŽ€ NAME πŸŽ€

okay so welcome to the mangonag manual, bestie ✨ mangonag shows a nag/notification bar on the mango Wayland compositor. that's the whole name vibe. 🫢

🌸 SYNOPSIS 🌸

mangonag [options]
mangonag --help | -h

✨ DESCRIPTION ✨

mangonag connects to a running mango(1) compositor and displays a single nag bar on a layer surface. It's literally made to surface messages like configuration errors (ya know, the compositor's config error nag πŸ‘€), and you can also invoke it directly to show custom notifications. The bar is anchored to the top or bottom edge of an output and stays on screen until it gets dismissed, its timeout expires, or it receives SIGINT/SIGTERM. periodt. πŸ’…

The message text comes from --message. If you pass --detailed-message, the remaining lines are read from standard input and appended to the message. Messages are limited to four lines β€” longer input is truncated with an ellipsis and a count of the omitted lines. no cap, four lines is the limit bestie 😭

If the message is empty and no buttons are configured, the program still creates the bar. Pressing a button runs its action and, depending on the button kind, may dismiss the bar first. 🫢

πŸ”₯ OPTIONS πŸ”₯

  • -m, --message <text> β€” the message text to display. πŸ’¬
  • -l, --detailed-message β€” read extra lines from standard input and append them to the message. πŸ’–
  • -t, --type <error|warning|info> β€” color preset for the bar. defaults to error. 🌈
  • -e, --edge <top|bottom> β€” edge of the output to anchor the bar to. defaults to top. ⬆️
  • -y, --layer <overlay|top|bottom> β€” layer shell layer to appear on. defaults to top. ✨
  • -o, --output <name> β€” name of the output to show the bar on. if you omit it, the bar is shown on the output with the highest scale, or the focused output when the compositor selects one. πŸ–₯️
  • -f, --font <pango font> β€” font description used to render the text. defaults to monospace 13. πŸŽ€
  • -s, --dismiss-button <text> β€” text of the dismiss button. defaults to X. pass an empty string to omit the button. πŸ’…
  • -b, --button <text> <command> β€” add a button that runs command in a terminal when clicked. πŸ–±οΈ
  • -B, --button-no-terminal <text> <command> β€” add a button that runs command directly (no terminal). πŸš€
  • -z, --button-dismiss <text> <command> β€” add a button that runs command in a terminal and then dismisses the bar. πŸ’¨
  • -Z, --button-dismiss-no-terminal <text> <command> β€” add a button that runs command directly and then dismisses the bar. 🫑
  • -T, --timeout <ms> β€” automatically dismiss the bar after ms milliseconds. 0 (the default) never times out. ⏰
  • -h, --help β€” print a usage summary and exit with success. πŸ‘‘

πŸŽ€ BUTTONS πŸŽ€

Buttons are added in the order given on the command line. For -b and -B, the command is optional; a button without a command only dismisses the bar when pressed. Terminal buttons run the command in $TERMINAL if set, otherwise the first available of foot, alacritty, kitty, wezterm, st or xterm, and fall back to sh(1) if none is found. yep, it's giving fallback queen. πŸ‘‘

πŸ¦‹ ENVIRONMENT πŸ¦‹

  • TERMINAL β€” terminal used for terminal buttons. πŸ–₯️
  • WAYLAND_DISPLAY β€” Wayland display to connect to. set automatically inside a mango(1) session. 🌟

πŸ’€ EXIT STATUS πŸ’€

  • 0 β€” success (or help message printed). βœ…
  • EXIT_FAILURE β€” an error occurred (failed to connect to the compositor, missing globals, etc.). 😭

🧚 SEE ALSO 🧚

mango(1), mmsg(1), sh(1) β€” go read those too, bestie. πŸ“š

πŸ™ˆ BUGS πŸ™ˆ

Report issues at the project's issue tracker. πŸ›

πŸ’– that's the mangonag manual, bestie β€” version 0.18.4, dated 2026-10-04 πŸŽ€

πŸ“¦ where this page comes from