Skip to Content
mangobar

Tags (workspaces)

Options and usage for the Tags (workspaces) module in mangobar.

Shows the mangowm tag buttons (workspaces). Place workspaces in a modules-* list.

"modules-left": ["workspaces"],

"workspaces": {
    "hide-empty": true,
    "pinned": [1, 2],
    "tag-names": ["1", "2", "3", "编", "网"],
    "overview-label": "OVERVIEW",
    "on-click": "activate",
    "on-click-right": "toggle",
    "scroll-interval": 100,
    "on-scroll-up": "mmsg dispatch viewtoleft_have_client",
    "on-scroll-down": "mmsg dispatch viewtoright_have_client"
}

Options

OptionTypeDefaultDescription
hide-emptybooltrueHide tags without clients
pinnedint array—Tag numbers kept visible even when empty
tag-namesstring array1..NCustom labels; index 0 = tag 1
overview-labelstringOVERVIEWText shown in overview mode
on-clickstring—activate switches to the tag over IPC
on-click-rightstring—toggle toggles the tag over IPC
on-scroll-up / on-scroll-downstring—View switching commands

Styling

#tags {
  padding: 0px 13px;
  background: linear-gradient(to top, #504945, mix(#504945, #fbf1c7, 0.3));
  color: #ebdbb2;
}
#tags.active {
  background: linear-gradient(to top, #83a598, mix(#83a598, #fbf1c7, 0.3));
  color: #1b1a1a;
}
#tags.urgent {
  background: linear-gradient(to top, #fb4934, mix(#fb4934, #fbf1c7, 0.3));
  color: #1b1a1a;
}
#tags:hover {
  background: linear-gradient(to top, #665c54, mix(#665c54, #fbf1c7, 0.3));
}

Waybar-style selectors are also accepted: #workspaces button, #workspaces button:hover, #workspaces button.active, #workspaces button.urgent.

Last updated on

On this page