summaryrefslogtreecommitdiff
path: root/modules/launcher/EmptyIndicator.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-03 23:56:37 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-03 23:56:37 +1000
commit00d3c1a472888817d7649391d4a8485c5fc6f6f5 (patch)
tree45b351c62f61ede55acfc209dde686f1c161a942 /modules/launcher/EmptyIndicator.qml
parentfeat: use multieffect instead of qt5compat (diff)
downloadcaelestia-shell-00d3c1a472888817d7649391d4a8485c5fc6f6f5.tar.gz
caelestia-shell-00d3c1a472888817d7649391d4a8485c5fc6f6f5.tar.bz2
caelestia-shell-00d3c1a472888817d7649391d4a8485c5fc6f6f5.zip
feat: launcher wallpaper selector
Diffstat (limited to 'modules/launcher/EmptyIndicator.qml')
-rw-r--r--modules/launcher/EmptyIndicator.qml62
1 files changed, 0 insertions, 62 deletions
diff --git a/modules/launcher/EmptyIndicator.qml b/modules/launcher/EmptyIndicator.qml
deleted file mode 100644
index 9593a2e..0000000
--- a/modules/launcher/EmptyIndicator.qml
+++ /dev/null
@@ -1,62 +0,0 @@
-import "root:/widgets"
-import "root:/config"
-import QtQuick
-
-Loader {
- id: root
-
- required property bool empty
-
- active: false
- opacity: 0
- scale: 0
- asynchronous: true
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.verticalCenter: parent.verticalCenter
-
- sourceComponent: Item {
- implicitWidth: childrenRect.width
- implicitHeight: icon.height
-
- MaterialIcon {
- id: icon
-
- text: "manage_search"
- color: Appearance.colours.m3outline
- font.pointSize: Appearance.font.size.extraLarge
-
- anchors.verticalCenter: parent.verticalCenter
- }
-
- StyledText {
- anchors.left: icon.right
- anchors.leftMargin: Appearance.spacing.small
- anchors.verticalCenter: icon.verticalCenter
-
- text: qsTr("No matching apps found")
- color: Appearance.colours.m3outline
- font.pointSize: Appearance.font.size.larger
- font.weight: 500
- }
- }
-
- states: State {
- name: "visible"
- when: root.empty
-
- PropertyChanges {
- root.active: true
- root.opacity: 1
- root.scale: 1
- }
- }
-
- transitions: Transition {
- NumberAnimation {
- properties: "opacity,scale"
- duration: Appearance.anim.durations.large
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
- }
- }
-}