summaryrefslogtreecommitdiff
path: root/components/containers
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-04 22:45:15 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-04 22:45:15 +1000
commitc5381c5194adf97c240acb98eb4c4c950633b325 (patch)
tree52b18eb1771ec6708c86f11d786684f03b8a7c48 /components/containers
parentdashboard: display correct temp units (diff)
downloadcaelestia-shell-c5381c5194adf97c240acb98eb4c4c950633b325.tar.gz
caelestia-shell-c5381c5194adf97c240acb98eb4c4c950633b325.tar.bz2
caelestia-shell-c5381c5194adf97c240acb98eb4c4c950633b325.zip
internal: refactor widgets folder
Split into subdirs and rename to components
Diffstat (limited to 'components/containers')
-rw-r--r--components/containers/StyledFlickable.qml17
-rw-r--r--components/containers/StyledListView.qml17
-rw-r--r--components/containers/StyledWindow.qml11
3 files changed, 45 insertions, 0 deletions
diff --git a/components/containers/StyledFlickable.qml b/components/containers/StyledFlickable.qml
new file mode 100644
index 0000000..7b2a75e
--- /dev/null
+++ b/components/containers/StyledFlickable.qml
@@ -0,0 +1,17 @@
+import qs.config
+import QtQuick
+
+Flickable {
+ id: root
+
+ maximumFlickVelocity: 3000
+
+ rebound: Transition {
+ NumberAnimation {
+ properties: "x,y"
+ duration: Appearance.anim.durations.normal
+ easing.type: Easing.BezierSpline
+ easing.bezierCurve: Appearance.anim.curves.standard
+ }
+ }
+}
diff --git a/components/containers/StyledListView.qml b/components/containers/StyledListView.qml
new file mode 100644
index 0000000..b59eca8
--- /dev/null
+++ b/components/containers/StyledListView.qml
@@ -0,0 +1,17 @@
+import qs.config
+import QtQuick
+
+ListView {
+ id: root
+
+ maximumFlickVelocity: 3000
+
+ rebound: Transition {
+ NumberAnimation {
+ properties: "x,y"
+ duration: Appearance.anim.durations.normal
+ easing.type: Easing.BezierSpline
+ easing.bezierCurve: Appearance.anim.curves.standard
+ }
+ }
+}
diff --git a/components/containers/StyledWindow.qml b/components/containers/StyledWindow.qml
new file mode 100644
index 0000000..3b402b5
--- /dev/null
+++ b/components/containers/StyledWindow.qml
@@ -0,0 +1,11 @@
+import qs.utils
+import qs.config
+import Quickshell
+import Quickshell.Wayland
+
+PanelWindow {
+ required property string name
+
+ WlrLayershell.namespace: `caelestia-${name}`
+ color: "transparent"
+}