mirror of
https://github.com/Alexays/Waybar.git
synced 2026-06-10 07:51:39 +00:00
Page:
Module: UPower
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: Gamemode
Module: Group
Module: Hyprland
Module: Idle Inhibitor
Module: Image
Module: JACK
Module: Keyboard State
Module: Language
Module: Load
Module: MPD
Module: MPRIS
Module: Memory
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: User
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
mechabar
mudi4's waybar
new waylyrics
nitrobigchill's waybar
rdk‐codes configuration
waybar config
No results
Table of Contents
Config
Addressed by upower
| option | typeof | default | description |
|---|---|---|---|
native-path |
string | The battery to monitor. Refer to the Upower native-path. Can be obtained using upower --dump |
|
model |
string | The battery to monitor, based on the model. (this option is ignored if native-path is given). Can be obtained using upower --dump |
|
icon-size |
integer | 20 | Defines the size of the icons. Set 0 for auto size. |
format |
string | {percentage} | The text format. |
format-alt |
string | {percentage} {time} | The text format when toggled. |
hide-if-empty |
bool | true | Defines visibility of the module if no devices can be found. |
on-click |
string | Command to execute when clicked on the module. | |
tooltip |
bool | true | Option to disable tooltip on hover. |
tooltip-format |
string | The tooltip format. | |
tooltip-spacing |
integer | 4 | Defines the spacing between the tooltip device name and device battery status. |
tooltip-padding |
integer | 4 | Defines the spacing between the tooltip window edge and the tooltip content. |
show-icon |
bool | true | Option to disable battery icon. |
Format replacements:
| string | replacement |
|---|---|
{percentage} |
The battery capacity in percentage. |
{time} |
An estimated time either until empty or until fully charged depending on the charging state. |
{temperature} |
The temperature of the device in degrees Celsius. |
{model} |
Name of the model of this battery. |
Example:
"upower": {
"icon-size": 20,
"hide-if-empty": true,
"tooltip": true,
"tooltip-spacing": 20
}
"upower": {
"native-path": "/org/bluez/hci0/dev_D4_AE_41_38_D0_EF",
"icon-size": 20,
"hide-if-empty": true,
"tooltip": true,
"tooltip-spacing": 20
}
"upower": {
"native-path": "battery_sony_controller_battery_d0o27o88o32ofcoee",
"icon-size": 20,
"hide-if-empty": true,
"tooltip": true,
"tooltip-spacing": 20
}
"upower": {
"show-icon": false,
"hide-if-empty": true,
"tooltip": true,
"tooltip-spacing": 20
}
Style
#upower#upower.charging#upower.discharging#upower.full#upower.empty#upower.unknown-status
- Home
- Installation
- Configuration
- Styling
- Examples
- FAQ
- Modules:
- Backlight/Slider
- Backlight
- Battery
- Bluetooth
- CPU
- Cava
- CFFI
- 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
- Wayfire
- WirePlumber
- Workspaces
- Writing Modules
License
Waybar is licensed under the MIT license. See LICENSE for more information.