aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-17 09:55:26 +0200
committerDanilo M. <danix@danix.xyz>2026-10-17 09:55:26 +0200
commitd83b1fb7b1336389d7965af75a88912ff2fafbb8 (patch)
tree7d2f34a3c2e0818560c48d2bb7d8a8c12f6dc874 /desktop/modules
parent66049c965139d821747ea76960b1e91316f8110a (diff)
downloadquickshell-d83b1fb7b1336389d7965af75a88912ff2fafbb8.tar.gz
quickshell-d83b1fb7b1336389d7965af75a88912ff2fafbb8.zip
desktop: git config moves to the settings window
The global git config is set once and left alone, which is what the settings window is for. The user row and its page stay in the drawer; "More git settings" there now closes the drawer and opens git in the window: Drawer.show hands any settings module to the window, so every deep link, IPC included, lands in the right place. Git was the only user of Module.up, the page back() returned to, so up goes with it and back from a drawer page is always the grid. Also gives autostart its rocket glyph, which the first commit wrote as an empty string. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules')
-rw-r--r--desktop/modules/autostart/AutostartModule.qml2
-rw-r--r--desktop/modules/git/GitModule.qml7
-rw-r--r--desktop/modules/git/README.md4
-rw-r--r--desktop/modules/user/README.md3
4 files changed, 8 insertions, 8 deletions
diff --git a/desktop/modules/autostart/AutostartModule.qml b/desktop/modules/autostart/AutostartModule.qml
index bba8aff..db11b28 100644
--- a/desktop/modules/autostart/AutostartModule.qml
+++ b/desktop/modules/autostart/AutostartModule.qml
@@ -18,7 +18,7 @@ Module {
name: "autostart"
label: "Autostart"
// nf-fa-rocket, present in Inconsolata Nerd Font.
- icon: ""
+ icon: "\uf135"
settings: true
page: Component {
diff --git a/desktop/modules/git/GitModule.qml b/desktop/modules/git/GitModule.qml
index 7b1cecf..8a2b6dd 100644
--- a/desktop/modules/git/GitModule.qml
+++ b/desktop/modules/git/GitModule.qml
@@ -12,16 +12,15 @@
import QtQuick
import "../.."
-// The global git config. No tile: the user page's Git section opens it, and
-// back returns there.
+// The global git config, in the settings window: set once and left alone.
+// The user page's "More git settings" opens it there.
Module {
id: gm
name: "git"
label: "Git config"
// nf-dev-git, present in Inconsolata Nerd Font.
icon: ""
- tiled: false
- up: "user"
+ settings: true
page: Component {
Page {
diff --git a/desktop/modules/git/README.md b/desktop/modules/git/README.md
index 65f2a8a..08ed5ea 100644
--- a/desktop/modules/git/README.md
+++ b/desktop/modules/git/README.md
@@ -1,7 +1,7 @@
# git
-The global git config (`~/.gitconfig`), every key, reached from the user
-page's "More git settings" button. Back returns to the user page.
+The global git config (`~/.gitconfig`), every key, in the settings window,
+also reached from the user page's "More git settings" button.
One row per value, grouped by section in file order, so a key set several
times shows several rows. Enter saves a row, Escape undoes an edit, Remove
diff --git a/desktop/modules/user/README.md b/desktop/modules/user/README.md
index 7178838..8f3e8f1 100644
--- a/desktop/modules/user/README.md
+++ b/desktop/modules/user/README.md
@@ -16,7 +16,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" opens the full global git config (`../git/`).
+"More git settings" closes the drawer and opens the full global git config
+(`../git/`) in the settings window.
The greeting is picked at random on each drawer open, never the same one
twice running, from `~/.config/quickshell/greetings`: one per line, `{user}`