From 29dd64572ae33ee47cf27ca1e15ecf52afad1f2f Mon Sep 17 00:00:00 2001 From: mx Date: Thu, 15 Oct 2026 19:10:51 +0200 Subject: [PATCH] Open the Control Center from the bar clock Drop the dashboard's now-unused Open from clock toggle. Co-Authored-By: Claude Opus 5.5 --- quickshell/bar/modules/ClockModule.qml | 7 +++---- quickshell/core/SettingsRegistry.qml | 2 +- quickshell/settings/pages/Dashboard.qml | 8 +------- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/quickshell/bar/modules/ClockModule.qml b/quickshell/bar/modules/ClockModule.qml index ba44248..c262a8f 100644 --- a/quickshell/bar/modules/ClockModule.qml +++ b/quickshell/bar/modules/ClockModule.qml @@ -21,11 +21,10 @@ GlassPill { color: Theme.text font.pixelSize: 13 } - // Clicking the clock opens the dashboard (Settings → Dashboard). + // Clicking the clock toggles the Control Center. MouseArea { anchors.fill: parent - enabled: ConfigService.ready && ConfigService.data.dashboard.enabled && ConfigService.data.dashboard.openFromClock - cursorShape: enabled ? Qt.PointingHandCursor : Qt.ArrowCursor - onClicked: ShellState.toggleDashboard("") + cursorShape: Qt.PointingHandCursor + onClicked: ShellState.toggleControlCenter() } } diff --git a/quickshell/core/SettingsRegistry.qml b/quickshell/core/SettingsRegistry.qml index d69fc04..93ca55f 100644 --- a/quickshell/core/SettingsRegistry.qml +++ b/quickshell/core/SettingsRegistry.qml @@ -123,7 +123,7 @@ Singleton { available: true, group: "shell", icon: "󰕮", - keywords: ["Dashboard", "Placement", "Position", "Tab order", "Open from clock", "Remember last tab", "Equalizer", "EasyEffects", "Power menu"] + keywords: ["Dashboard", "Placement", "Position", "Tab order", "Remember last tab", "Equalizer", "EasyEffects", "Power menu"] }, { id: "plugins", diff --git a/quickshell/settings/pages/Dashboard.qml b/quickshell/settings/pages/Dashboard.qml index 943ef56..03f4f0e 100644 --- a/quickshell/settings/pages/Dashboard.qml +++ b/quickshell/settings/pages/Dashboard.qml @@ -27,18 +27,12 @@ SettingsPage { } SettingsSection { title: "Dashboard" - description: "A tabbed glass panel below the bar. Open it from the clock, with “glassmxrph dashboard [tab]”, or bind that to a key. ←/→, Tab and 1–4 switch tabs." + description: "A tabbed glass panel below the bar. Open it with “glassmxrph dashboard [tab]”, or bind that to a key. ←/→, Tab and 1–4 switch tabs." PreferenceToggle { label: "Enable dashboard" icon: "󰕮" setting: "dashboard.enabled" } - PreferenceToggle { - label: "Open from clock" - description: "Click the bar clock to toggle it" - icon: "󰥔" - setting: "dashboard.openFromClock" - } PreferenceToggle { label: "Remember last tab" description: "Otherwise it opens on the first tab"