From 47e60adc756f77b7394e644b047959f57993abfe Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 17 Oct 2026 10:24:34 +0200 Subject: drawer: the settings gear moves from the grid to the user header The grid is for quick settings, and the window it opened is the opposite, so a tile for it sat wrong. The gear now sits at the right of the user header, a round button that closes the drawer and opens the settings window on its landing page. Co-Authored-By: Claude Opus 5.5 --- desktop/README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'desktop/README.md') diff --git a/desktop/README.md b/desktop/README.md index fe189a0..1c7d781 100644 --- a/desktop/README.md +++ b/desktop/README.md @@ -30,7 +30,7 @@ The drawer is the quick area: live state, and things toggled often. Pages that are set once and left alone live in a settings window instead, a normal Hyprland window rather than a layer surface, with those pages listed down its left. A module joins it with `settings: true`, which also drops its tile. The -gear tile opens it, and so does IPC: +gear beside the user header opens it, as do SUPER+Return and IPC: qs -p ./desktop ipc call settings open autostart qs -p ./desktop ipc call settings toggle @@ -97,9 +97,8 @@ which: it reads those properties and does the obvious thing. A page is wrapped in `Page.qml` for the header and back arrow, and a tile with no page is fire-and-forget, so its click calls `activate()` and closes the drawer. -The settings gear in `shell.qml` is the smallest complete example: a name, an -icon, and an `activate()` that opens the settings window, with no page and no -service. Sound, mail, vm, network, bluetooth and kdeconnect each add a service +A tile with no page is the smallest complete example: a name, an icon, and an +`activate()`, with no page and no service. Sound, mail, vm, network, bluetooth and kdeconnect each add a service and a page on top of that same shape; `modules/appearance/ThemeModule.qml` is a small settings page. @@ -148,8 +147,7 @@ below it sits where it will sit once notifications arrive. The bottom is a fourth row scrolls inside that box rather than pushing into the notification space, and a thin accent bar in the margin shows only when a row is hidden. The order is Sound, Network, Bluetooth, KDE Connect, Mail, Status, -Performance, Clipboard, VMs, AI, then the settings gear, the everyday ones -first. +Performance, Clipboard, VMs, AI, the everyday ones first. A page can close the whole drawer by emitting `dismiss` from its `Page`, as the clipboard does after a copy; `back` returns to the grid. -- cgit v1.2.3