-
-
Notifications
You must be signed in to change notification settings - Fork 707
Home
Alex edited this page Aug 10, 2018
·
9 revisions
Welcome to the Waybar wiki!
Configuration
The configuration uses the JSON file format.
{
"modules-left": ["workspaces"],
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "clock"],
"cpu": {
"format": "{}% "
},
"memory": {
"format": "{}% "
},
"battery": {
"format": "{}% "
},
"network": {
"interface": "wlp2s0",
"format": "{essid} ({signalStrength}%) "
},
"pulseaudio": {
"format": "{}% ",
"format-muted": ""
}
}
Customization
The customization uses the CSS file format.
* {
border: none;
border-radius: 0;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
}
window {
background: rgba(43, 48, 59, 0.5);
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
color: white;
}
.workspaces button {
padding: 0 5px;
background: transparent;
color: white;
border-bottom: 3px solid transparent;
}
.workspaces button.current {
background: #64727D;
border-bottom: 3px solid white;
}
.clock, .battery, .cpu, .memory, .network, .pulseaudio {
padding: 0 10px;
margin: 0 5px;
}
.clock {
background-color: #64727D;
}
.battery {
background-color: #ffffff;
color: black;
}
.battery.charging {
color: white;
background-color: #26A65B;
}
.cpu {
background: #2ecc71;
color: #000000;
}
.memory {
background: #9b59b6;
}
.network {
background: #2980b9;
}
.pulseaudio {
background: #f1c40f;
color: black;
}
.pulseaudio.muted {
background: #90b1b1;
color: #2a5c45;
}
- 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