diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-02 20:05:52 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-02 20:05:52 +1000 |
| commit | 8a32dd8614ada54c3f8024fc8774ed960bfa46d4 (patch) | |
| tree | ef5fd051a6cccc42be2b33b4ad49eda20eba84a8 /modules/launcher/AppItem.qml | |
| parent | launcher: better app items (diff) | |
| download | caelestia-shell-8a32dd8614ada54c3f8024fc8774ed960bfa46d4.tar.gz caelestia-shell-8a32dd8614ada54c3f8024fc8774ed960bfa46d4.tar.bz2 caelestia-shell-8a32dd8614ada54c3f8024fc8774ed960bfa46d4.zip | |
launcher: fuzzy sort
Diffstat (limited to 'modules/launcher/AppItem.qml')
| -rw-r--r-- | modules/launcher/AppItem.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/launcher/AppItem.qml b/modules/launcher/AppItem.qml index 24e0470..cb7f615 100644 --- a/modules/launcher/AppItem.qml +++ b/modules/launcher/AppItem.qml @@ -12,7 +12,7 @@ PaddedRect { implicitWidth: ListView.view.width padding: [Appearance.padding.smaller, Appearance.padding.normal] radius: Appearance.rounding.normal - color: Appearance.alpha(Appearance.colours.m3surfaceContainerHighest, true) + // color: ListView.isCurrentItem ? Appearance.alpha(Appearance.colours.m3surfaceContainerHighest, true) : "transparent" IconImage { id: icon @@ -39,8 +39,7 @@ PaddedRect { } StyledText { - text: root.modelData.comment - // font.family: Appearance.font.family.mono + text: qsTr(root.modelData.comment || root.modelData.genericName || root.modelData.name) font.pointSize: Appearance.font.size.small color: Appearance.alpha(Appearance.colours.m3outline, true) |