mangonag(1)
π 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 toerror. π-e,--edge <top|bottom>β edge of the output to anchor the bar to. defaults totop. β¬οΈ-y,--layer <overlay|top|bottom>β layer shell layer to appear on. defaults totop. β¨-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 tomonospace 13. π-s,--dismiss-button <text>β text of the dismiss button. defaults toX. 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 amango(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
- arch rolling: mangowm 0.18.4-1 Β· GPL-3.0-or-later
- nixpkgs unstable: mango 0.18.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms