-
-
Notifications
You must be signed in to change notification settings - Fork 733
- How do I add multiple instances of a module?
- The Workspace-Buttons have a strange hover effect
- How can I generate a debug build?
- The icons from the default configuration aren't rendered
- How do I display text?
- How can I prevent modules from changing size?
- How to use with Sway?
- How can I temporarily hide the bars?
- How can I reload the configuration without restarting waybar?
Have a look here: Multiple instances of a module
It's not a bug, the original issue #60.
But if you don't like the effect you can disable it 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;
}
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
You need to install otf-font-awesome
. See here on how to install the Font Awesome OTF package.
Create a Custom module with the format
field specified with your text.
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}%"
You can use Waybar by defining in your Sway config file:
bar {
swaybar_command waybar
}
or at the end of your sway config file
exec waybar
You can toggle the visibility of the bars with:
killall -SIGUSR1 waybar
Only works on waybar after version v0.9.5
killall -SIGUSR2 waybar
- Home
- Installation
- Configuration
- Styling
- Examples
- FAQ
- Modules:
- Backlight/Slider
- Backlight
- Battery
- Bluetooth
- CPU
- Cava
- Clock
- Custom
- DWL
- Disk
- Gamemode
- Group
- Hyprland
- Idle Inhibitor
- Image
- JACK
- Keyboard State
- Language
- Load
- MPD
- MPRIS
- Memory
- Network
- Niri
- Power Profiles Daemon
- Privacy
- PulseAudio/Slider
- PulseAudio
- River
- Sndio
- Sway
- Systemd failed units
- Taskbar
- Temperature
- Tray
- UPower
- User
- WirePlumber
- Workspaces
- Writing Modules