From 6672176be71b26685c02fae8f520e631069b82ec Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 17 Oct 2026 10:26:16 +0200 Subject: user: the details page moves to the settings window The drawer's greeting row stays, and clicking it now closes the drawer and opens the user page in the settings window: Drawer.show already hands a settings module to the window, so the row's handler is unchanged. "More git settings" switches the window to the git page through the same go() it used in the drawer. The page is searchable by the fields it edits. Co-Authored-By: Claude Opus 5.5 --- desktop/modules/user/README.md | 7 ++++--- desktop/modules/user/UserModule.qml | 7 +++++-- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'desktop') diff --git a/desktop/modules/user/README.md b/desktop/modules/user/README.md index 8f3e8f1..0100da1 100644 --- a/desktop/modules/user/README.md +++ b/desktop/modules/user/README.md @@ -1,7 +1,8 @@ # user The drawer's greeting row (avatar, a greeting, real name) and the page -it opens, which edits the user's details where other programs read them. +it opens in the settings window, which edits the user's details where other +programs read them. Clicking the row closes the drawer. | Field | Written to | | --- | --- | @@ -16,8 +17,8 @@ what is typed is sent to `nominatim.openstreetmap.org`, 1s after typing stops and from three characters, per its usage policy. Up/Down, Enter and Escape work the list. Offline, the field is plain text. The Git section shows the name and email git will get, read-only, and the signing key; -"More git settings" closes the drawer and opens the full global git config -(`../git/`) in the settings window. +"More git settings" switches the window to the full global git config +(`../git/`). The greeting is picked at random on each drawer open, never the same one twice running, from `~/.config/quickshell/greetings`: one per line, `{user}` diff --git a/desktop/modules/user/UserModule.qml b/desktop/modules/user/UserModule.qml index f292bda..0d96050 100644 --- a/desktop/modules/user/UserModule.qml +++ b/desktop/modules/user/UserModule.qml @@ -12,14 +12,17 @@ import QtQuick import "../.." -// The user's details. No tile: the drawer's greeting row opens the page. +// The user's details, in the settings window. No tile: the drawer's greeting +// row opens the page there, and "More git settings" moves to the git page. Module { id: um name: "user" label: "User" // nf-fa-user, present in Inconsolata Nerd Font. icon: "\uf007" - tiled: false + settings: true + keywords: ["name", "email", "avatar", "picture", "photo", "language", "location", + "signing", "key", "gpg", "accountsservice"] page: Component { Page { -- cgit v1.2.3