aboutsummaryrefslogtreecommitdiffstats
path: root/config/quickshell/shell.qml
diff options
context:
space:
mode:
authorKiran George <kirangeorge1995@gmail.com>2025-06-09 11:30:08 +0530
committerKiran George <kirangeorge1995@gmail.com>2025-06-09 11:30:08 +0530
commit952aa63147c9fb28f6ace6f0bc7ccf45ced1299a (patch)
tree306e6d86603a162c00bc5113b56baac0fe7bec7c /config/quickshell/shell.qml
parent4cf0d0bd5930da76e60f6770de3ee97c10ca7024 (diff)
Overview v2
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