Skip to content
Caleb Bassi edited this page Dec 29, 2018 · 27 revisions

How do I add multiple instances of a module?

Have a look here: Multiple instances of a module

The Workspace-Buttons have a strange hover effect

This is a bug, wich is tracked in #60.

This can be fix by adding the following snippet to your style.css:

#workspaces button:hover {
  box-shadow: inherit;
  text-shadow: inherit;
}

Additionally, to remove all hover effects from workspaces, add the following in addition to the above:

#workspaces button:hover {
    background: <original-color>;
    border: <original-color>;
    padding: 0 3px;
}

How can I generate a debug build?

A debug build can be helpfull when fixing bugs, because it generates a backtrace with debugging symbols.

This can be done with:

make build-debug

The icons from the default configuration aren't rending

You need to install otf-font-awesome

How do I display text?

Create a Custom module with the format field specified with your text.

How can I prevent modules from changing size?

First make sure to set a monospace font:

* {
    font-family: monospace;
}

Then change the module format so that it stays at a fixed width. Waybar uses fmt for formatting so the following syntax is an example of how to set the CPU percentage to be at least 2 characters wide:

"format": "{usage:2}%"
Clone this wiki locally