summaryrefslogtreecommitdiff
path: root/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/shell.qml
diff options
context:
space:
mode:
authornippy <you@example.com>2026-04-18 13:49:56 +0200
committernippy <you@example.com>2026-04-18 13:49:56 +0200
commit5d94c0a7d44a2255b81815a52a7056a94a39842d (patch)
tree759bdea9645c6a62f9e1e4c001f7d81cccd120d2 /raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/shell.qml
parente79cdf210b267f21a186255ce1a4d50029439d54 (diff)
downloadRaveOS-PKGBUILD-5d94c0a7d44a2255b81815a52a7056a94a39842d.tar.gz
RaveOS-PKGBUILD-5d94c0a7d44a2255b81815a52a7056a94a39842d.zip
update Raveos themes
Diffstat (limited to 'raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/shell.qml')
-rw-r--r--raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/shell.qml36
1 files changed, 36 insertions, 0 deletions
diff --git a/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/shell.qml b/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/shell.qml
new file mode 100644
index 0000000..ae22e86
--- /dev/null
+++ b/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/shell.qml
@@ -0,0 +1,36 @@
+//@ pragma Env QSG_RENDER_LOOP=threaded
+//@ pragma Env QT_MEDIA_BACKEND=ffmpeg
+//@ pragma Env QT_FFMPEG_DECODING_HW_DEVICE_TYPES=vaapi
+//@ pragma Env QT_FFMPEG_ENCODING_HW_DEVICE_TYPES=vaapi
+//@ pragma Env QT_WAYLAND_DISABLE_WINDOWDECORATION=1
+//@ pragma Env QT_QUICK_CONTROLS_STYLE=Material
+//@ pragma UseQApplication
+// ! TODO - replace pragma AppId when next QS releases, remove from GO launch injection.
+
+import QtQuick
+import Quickshell
+
+ShellRoot {
+ id: entrypoint
+
+ readonly property bool runGreeter: Quickshell.env("DMS_RUN_GREETER") === "1" || Quickshell.env("DMS_RUN_GREETER") === "true"
+ readonly property bool disableHotReload: Quickshell.env("DMS_DISABLE_HOT_RELOAD") === "1" || Quickshell.env("DMS_DISABLE_HOT_RELOAD") === "true"
+
+ Component.onCompleted: {
+ Quickshell.watchFiles = !disableHotReload;
+ }
+
+ Loader {
+ id: dmsShellLoader
+ asynchronous: false
+ sourceComponent: DMSShell {}
+ active: !entrypoint.runGreeter
+ }
+
+ Loader {
+ id: dmsGreeterLoader
+ asynchronous: false
+ sourceComponent: DMSGreeter {}
+ active: entrypoint.runGreeter
+ }
+}