quickshell: profile selector — selected bright, unselected grey

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-06-13 17:45:16 +01:00
parent f1b8d5d57d
commit 3047ea547c

View file

@ -2100,8 +2100,9 @@ in
SIcon { SIcon {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
text: modelData.label text: modelData.label
// Selected = bright, unselected = grey
color: batteryWidget.powerProfile === modelData.name color: batteryWidget.powerProfile === modelData.name
? Theme.base0D : Theme.base05 ? Theme.base05 : Theme.base04
Behavior on color { ColorAnimation { duration: 200 } } Behavior on color { ColorAnimation { duration: 200 } }
font.pixelSize: 17 font.pixelSize: 17
} }