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 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-10-15 19:10:51 +02:00
1 parent da0a61b50b
commit 29dd64572a
3 files changed
+5 -12

No files matched your search

+3 -4
View File
@@ -21,11 +21,10 @@ GlassPill {
color: Theme.text color: Theme.text
font.pixelSize: 13 font.pixelSize: 13
} }
// Clicking the clock opens the dashboard (Settings → Dashboard). // Clicking the clock toggles the Control Center.
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
enabled: ConfigService.ready && ConfigService.data.dashboard.enabled && ConfigService.data.dashboard.openFromClock cursorShape: Qt.PointingHandCursor
cursorShape: enabled ? Qt.PointingHandCursor : Qt.ArrowCursor onClicked: ShellState.toggleControlCenter()
onClicked: ShellState.toggleDashboard("")
} }
} }
+1 -1
View File
@@ -123,7 +123,7 @@ Singleton {
available: true, available: true,
group: "shell", group: "shell",
icon: "󰕮", 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", id: "plugins",
+1 -7
View File
@@ -27,18 +27,12 @@ SettingsPage {
} }
SettingsSection { SettingsSection {
title: "Dashboard" 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 { PreferenceToggle {
label: "Enable dashboard" label: "Enable dashboard"
icon: "󰕮" icon: "󰕮"
setting: "dashboard.enabled" setting: "dashboard.enabled"
} }
PreferenceToggle {
label: "Open from clock"
description: "Click the bar clock to toggle it"
icon: "󰥔"
setting: "dashboard.openFromClock"
}
PreferenceToggle { PreferenceToggle {
label: "Remember last tab" label: "Remember last tab"
description: "Otherwise it opens on the first tab" description: "Otherwise it opens on the first tab"