mirror of
https://github.com/Alexays/Waybar.git
synced 2026-11-24 09:12:06 +00:00
Page:
States
Pages
Abrar's Waybar
Add a custom plugin.
Anik's waybar config (super waybar)
Ariacna Æsama
Arkboi
Chocolate & Cream
Configuration
Dynamic wallust powered waybar
ERS’ waybar
Examples
FAQ
Home
Installation
JohanChane's waybar
Module: Backlight Slider
Module: Backlight
Module: Battery
Module: Bluetooth
Module: CFFI
Module: CPU
Module: Cava
Module: Cava: GLSL
Module: Cava: Raw
Module: Clock
Module: Custom
Module: Custom: Examples
Module: Custom: Menu
Module: Disk
Module: Dwl
Module: GPS
Module: Gamemode
Module: Group
Module: Hyprland
Module: Idle Inhibitor
Module: Image
Module: Inhibitor
Module: JACK
Module: Keyboard State
Module: Language
Module: Load
Module: MPD
Module: MPRIS
Module: Mango
Module: Memory
Module: Menu
Module: Network
Module: Niri
Module: PowerProfilesDaemon
Module: Privacy
Module: PulseAudio Slider
Module: PulseAudio
Module: River
Module: Sndio
Module: Sway
Module: Systemd failed units
Module: Taskbar
Module: Temperature
Module: Tray
Module: UPower
Module: Umbriel
Module: User
Module: WWAN
Module: Wayfire
Module: WirePlumber
Module: Workspaces
Modules
Simple and Attractive
States
Styling
That's all bitches
Themes
Thos' config based on pywal
Tray Applets
Writing Modules
apachaiz's waybar
d00m1k's configuration
lingllqs's simple dark style configuration
mudi4's waybar
new waylyrics
nitrobigchill's waybar
rdk‐codes configuration
waybar config
No results
13
States
github-actions[bot] edited this page 2026-11-04 20:21:43 +00:00
Table of contents
Note
This page is auto-generated from
man/waybar-states.5.scdon themasterbranch. Do not edit it here — changes will be overwritten on the next sync. To update it, edit the man page(s) and open a PR.
OVERVIEW
Some modules support 'states' which allows percentage values to be used as styling triggers to apply a class when the value matches the declared state value.
STATES
Every entry (state) consists of a <name> (typeof: string) and a <value> (typeof: integer).
- The state can be addressed as a CSS class in the style.css. The name of the CSS class is the <name> of the state. Each class gets activated when the current value is equal to or less than the configured <value> for the battery and pulseaudio modules, or equal to or greater than the configured <value> for all other modules (including wireplumber).
- Also, each state can have its own format. Those can be configured via format-<name>, or if you want to differentiate a bit more, as format-<status>-<state>.
EXAMPLE
"battery": {
"bat": "BAT2",
"interval": 60,
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""],
"max-length": 25
}
STYLING STATES
- #battery.<state> - <state> can be defined in the config.
EXAMPLE:
-
#battery.warning: { background: orange; }
-
#battery.critical: { background: red; }
- Home
- Installation
- Configuration
- Styling
- Examples
- FAQ
- Modules:
- Backlight/Slider
- Backlight
- Battery
- Bluetooth
- CPU
- Cava
- CFFI
- Clock
- Custom
- DWL
- Disk
- Gamemode
- GPS
- Group
- Hyprland
- Idle Inhibitor
- Image
- Inhibitor
- JACK
- Keyboard State
- Language
- Load
- Mango
- Menu
- MPD
- MPRIS
- Memory
- Network
- Niri
- Power Profiles Daemon
- Privacy
- PulseAudio/Slider
- PulseAudio
- River
- Sndio
- Sway
- Systemd failed units
- Taskbar
- Temperature
- Tray
- Umbriel
- UPower
- User
- Wayfire
- WirePlumber
- Workspaces
- WWAN
- Writing Modules
License
Waybar is licensed under the MIT license. See LICENSE for more information.