nix fmt
This commit is contained in:
parent
4df704844e
commit
9e1716aa39
14 changed files with 154 additions and 102 deletions
|
|
@ -17,10 +17,7 @@ M.BarSection {
|
|||
readonly property var dev: UPower.displayDevice
|
||||
readonly property real pct: (dev?.percentage ?? 0) * 100
|
||||
readonly property bool charging: dev?.state === UPowerDeviceState.Charging
|
||||
readonly property color _stateColor: charging ? M.Theme.base0B
|
||||
: pct < 15 ? M.Theme.base08
|
||||
: pct < 30 ? M.Theme.base09
|
||||
: M.Theme.base0B
|
||||
readonly property color _stateColor: charging ? M.Theme.base0B : pct < 15 ? M.Theme.base08 : pct < 30 ? M.Theme.base09 : M.Theme.base0B
|
||||
|
||||
M.BarIcon {
|
||||
icon: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue