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
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()
}
}
+1 -1
View File
@@ -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",
+1 -7
View File
@@ -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"