diff --git a/default/quickshell/omarchy-shell/plugins/bar/Bar.qml b/default/quickshell/omarchy-shell/plugins/bar/Bar.qml index 64812241..8e1b4f04 100644 --- a/default/quickshell/omarchy-shell/plugins/bar/Bar.qml +++ b/default/quickshell/omarchy-shell/plugins/bar/Bar.qml @@ -408,6 +408,14 @@ Item { launcher.startDetached() } + function openBarSettings() { + if (root.shell && typeof root.shell.summon === "function") { + root.shell.summon("omarchy.settings", "{}") + } else { + root.run("omarchy-launch-bar-settings") + } + } + function runProcess(process) { if (!process.running) process.running = true @@ -1056,6 +1064,15 @@ Item { Item { anchors.fill: parent + MouseArea { + anchors.fill: parent + acceptedButtons: Qt.LeftButton + onDoubleClicked: function(mouse) { + root.openBarSettings() + mouse.accepted = true + } + } + ModuleList { visible: !centerRoot.hasAnchor entries: centerRoot.entries diff --git a/default/quickshell/omarchy-shell/plugins/bar/README.md b/default/quickshell/omarchy-shell/plugins/bar/README.md index 5e52e25a..b46b47e5 100644 --- a/default/quickshell/omarchy-shell/plugins/bar/README.md +++ b/default/quickshell/omarchy-shell/plugins/bar/README.md @@ -16,7 +16,7 @@ the shell for its whole session. The bar config lives under the `bar:` key of [`~/.config/omarchy/shell.json`](../../README.md#shelljson-shape). Out of the box the shell uses [`shell-defaults.json`](../../shell-defaults.json). Once you customize anything via `omarchy launch bar settings` or by editing shell.json directly, your file is canonical — there is no deep-merge. -Launch the visual editor with `omarchy launch bar settings` (or run `omarchy-launch-bar-settings`) to reorder widgets, add/remove them, and tweak per-widget options without editing JSON by hand. +Launch the visual editor with `omarchy launch bar settings` (or run `omarchy-launch-bar-settings`) to reorder widgets, add/remove them, and tweak per-widget options without editing JSON by hand. You can also double-click empty space to the left or right of the centered clock to open it. Example `shell.json` (bar subtree only shown):