aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/shell.qml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/shell.qml')
-rw-r--r--desktop/shell.qml31
1 files changed, 28 insertions, 3 deletions
diff --git a/desktop/shell.qml b/desktop/shell.qml
index 0d56e87..bb8c1df 100644
--- a/desktop/shell.qml
+++ b/desktop/shell.qml
@@ -72,9 +72,7 @@ ShellRoot {
UpdatesModule {},
VmModule {},
AiModule {},
- AppearanceModule {},
UserModule {},
- GitModule {},
NotesModule {},
// The settings window's entry point, a tile like the others.
Module {
@@ -83,7 +81,13 @@ ShellRoot {
icon: "\uf013"
function activate() { settings.show(""); }
},
+ WallpaperModule {},
+ ThemeModule {},
+ IconsModule {},
+ SunsetModule {},
+ IdleModule {},
AutostartModule {},
+ GitModule {},
]
}
@@ -94,6 +98,10 @@ ShellRoot {
modules: drawer.modules
}
+ // unified-desktop-theme's manual steps, its own window on DP-3. See
+ // modules/appearance/README.md.
+ StepsWindow { id: stepsWindow }
+
// The island on DP-1. It reads the sound module's service rather than
// binding PipeWire a second time.
Island {
@@ -114,7 +122,7 @@ ShellRoot {
// and a parameter with a JS default registers as QVariant, which IPC
// rejects. So the page name cannot be optional: `open` always takes a
// page, and the page-less grid is `toggle`, the zero-argument shape the
- // appearance shell uses for its routes and the waybar launcher calls.
+ // waybar launcher called.
IpcHandler {
target: "drawer"
function open(page: string) { drawer.show(page); }
@@ -130,6 +138,23 @@ ShellRoot {
function toggle() { if (settings.open) settings.close(); else settings.show(""); }
}
+ // The verbs of the appearance shell this replaced, so its callers only
+ // change the path: udt-steps calls `steps`.
+ // qs -p <this dir> ipc call appearance wallpaper
+ IpcHandler {
+ target: "appearance"
+ function toggle() { settings.show("wallpaper"); }
+ function wallpaper() { settings.show("wallpaper"); }
+ function theme() { settings.show("theme"); }
+ function sunset() { settings.show("sunset"); }
+ function idle() { settings.show("idle"); }
+ function icons() { settings.show("icons"); }
+ function steps() { stepsWindow.poke(); }
+ function selftest(): string {
+ return Hyprsunset.selftest() + "\n" + Hypridle.selftest() + "\n" + Icons.selftest() + "\n" + Steps.selftest();
+ }
+ }
+
// qs -p <this dir> ipc call assistant toggle -> SUPER+Home
IpcHandler {
target: "assistant"