Skip to Content
mangobar

Window

Options and usage for the Window module in mangobar.

Shows the title of the active window. Place window in a modules-* list.

"modules-center": ["window"],

"window": {
    "format": "{}",
    "max-length": 300,
    "on-click": "bash ~/.config/mango/scripts/screenshot.sh",
    "on-click-right": "python /home/wrq/tool/ocr.py"
}

Options

OptionTypeDefaultDescription
formatstring{}Format; {} is replaced with the window title
max-lengthint (px)0Maximum rendered text width in pixels (see Configuration)

Styling

#title {
  background: linear-gradient(to top, #bd788a, mix(#bd788a, #fbf1c7, 0.3));
  color: #111111;
}

Last updated on

On this page