summaryrefslogtreecommitdiff
path: root/modules/dashboard/Content.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-17 00:44:00 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-17 00:44:00 +0800
commit6e6db08726e3bc274594de6835a01fc10002def9 (patch)
tree272dcaa27b96690c449cdf61c8e4e6ea21559f48 /modules/dashboard/Content.qml
parentlauncher: fallback app icon (diff)
downloadcaelestia-shell-6e6db08726e3bc274594de6835a01fc10002def9.tar.gz
caelestia-shell-6e6db08726e3bc274594de6835a01fc10002def9.tar.bz2
caelestia-shell-6e6db08726e3bc274594de6835a01fc10002def9.zip
feat: dashboard
Diffstat (limited to 'modules/dashboard/Content.qml')
-rw-r--r--modules/dashboard/Content.qml34
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/dashboard/Content.qml b/modules/dashboard/Content.qml
new file mode 100644
index 0000000..f3f102a
--- /dev/null
+++ b/modules/dashboard/Content.qml
@@ -0,0 +1,34 @@
+import "root:/widgets"
+import "root:/services"
+import "root:/config"
+import Quickshell
+import QtQuick
+import QtQuick.Controls
+
+Item {
+ id: root
+
+ required property PersistentProperties visibilities
+
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.bottom: parent.bottom
+
+ implicitWidth: 800
+ implicitHeight: 300
+
+ Tabs {
+ id: tabs
+
+ anchors.fill: parent
+ anchors.topMargin: Appearance.padding.normal
+ anchors.margins: Appearance.padding.large
+
+ currentIndex: view.currentIndex
+ }
+
+ SwipeView {
+ id: view
+
+ currentIndex: tabs.currentIndex
+ }
+}