quickshell: profile selector — selected bright, unselected grey
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
f1b8d5d57d
commit
3047ea547c
1 changed files with 2 additions and 1 deletions
|
|
@ -2100,8 +2100,9 @@ in
|
|||
SIcon {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
text: modelData.label
|
||||
// Selected = bright, unselected = grey
|
||||
color: batteryWidget.powerProfile === modelData.name
|
||||
? Theme.base0D : Theme.base05
|
||||
? Theme.base05 : Theme.base04
|
||||
Behavior on color { ColorAnimation { duration: 200 } }
|
||||
font.pixelSize: 17
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue