This commit is contained in:
beanigen 2025-01-30 14:03:13 +08:00
parent 83d9282898
commit 0d0ac80bb5
No known key found for this signature in database
6 changed files with 38 additions and 7 deletions

View file

@ -9,7 +9,7 @@
"position": "top",
"modules-center": ["group/mpdg"],
"modules-left": ["group/dtray"],
"modules-right": ["clock", "wireplumber"],
"modules-right": ["battery", "battery#bat1", "battery#bat2", "clock", "wireplumber"],
"group/dtray": {
@ -60,5 +60,20 @@
"format": "{title} - {album} - {artist}",
"format-paused": "{title} - {album} - {artist}",
},
"battery": {
"bat": "BAT0",
"interval": 5,
"format-icons": [" ", " ", " ", " ", " "],
"format": "{icon} {capacity}%",
"tooltip-format": "BAT0, {power}W"
},
"battery#bat1": {
"bat": "BAT1",
"tooltip-format": "BAT1, {power}W"
},
"battery#bat2": {
"bat": "BAT2",
"tooltip-format": "BAT2, {power}W"
},
}
]