disable modules, README, warning fixes
This commit is contained in:
parent
ed68b9fd93
commit
5ad933c03b
9 changed files with 215 additions and 24 deletions
|
|
@ -5,7 +5,7 @@ import "." as M
|
|||
M.BarSection {
|
||||
id: root
|
||||
spacing: M.Theme.moduleSpacing
|
||||
visible: UPower.displayDevice?.isLaptopBattery ?? false
|
||||
visible: M.Modules.battery && (UPower.displayDevice?.isLaptopBattery ?? false)
|
||||
tooltip: {
|
||||
const state = root.charging ? "Charging" : "Discharging";
|
||||
const t = root.charging ? root.dev?.timeToFull : root.dev?.timeToEmpty;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue