aboutsummaryrefslogtreecommitdiffstats
path: root/config/quickshell/shell.qml
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-06-15 17:08:35 +0000
committerGitHub <noreply@github.com>2025-06-15 17:08:35 +0000
commit88abbee9fe56f2e2489f04a017daaf3cfdc97511 (patch)
treec229832f852a3e55b41addcfc675d3ceb3df2282 /config/quickshell/shell.qml
parent4cf0d0bd5930da76e60f6770de3ee97c10ca7024 (diff)
parentd46077fe5ac56afbd63dc1222e649f10435b05e2 (diff)
Merge pull request #737 from SherLock707/overviewV2_qs
Overview Widget v2: Migration from AGS to QuickShell
Diffstat (limited to 'config/quickshell/shell.qml')
-rw-r--r--config/quickshell/shell.qml27
1 files changed, 27 insertions, 0 deletions
diff --git a/config/quickshell/shell.qml b/config/quickshell/shell.qml
new file mode 100644
index 00000000..36842c2b
--- /dev/null
+++ b/config/quickshell/shell.qml
@@ -0,0 +1,27 @@
+//@ pragma UseQApplication
+//@ pragma Env QS_NO_RELOAD_POPUP=1
+//@ pragma Env QT_QUICK_CONTROLS_STYLE=Basic
+
+import "./modules/common/"
+import "./modules/overview/"
+import QtQuick
+import QtQuick.Controls
+import QtQuick.Layouts
+import QtQuick.Window
+import Quickshell
+import "./services/"
+
+ShellRoot {
+ // Enable/disable modules here. False = not loaded at all, so rest assured
+ // no unnecessary stuff will take up memory if you decide to only use, say, the overview.
+ property bool enableOverview: true
+
+ // Force initialization of some singletons
+ Component.onCompleted: {
+ MaterialThemeLoader.reapplyTheme()
+ ConfigLoader.loadConfig()
+ }
+
+ Loader { active: enableOverview; sourceComponent: Overview {} }
+
+} \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage