diff --git a/quickshell/Modules/DankBar/DankBarContent.qml b/quickshell/Modules/DankBar/DankBarContent.qml index 6996e103d..80ff7fe97 100644 --- a/quickshell/Modules/DankBar/DankBarContent.qml +++ b/quickshell/Modules/DankBar/DankBarContent.qml @@ -1105,12 +1105,13 @@ Item { onClockClicked: { const section = topBarContent.getWidgetSection(parent) || "center"; + const tabIndex = SettingsData.dashTabIndexForId("overview"); topBarContent.openWidgetPopout({ loader: dankDashPopoutLoader, widgetItem: clockWidget, section, - tabIndex: 0, - triggerSource: topBarContent._dashTriggerSource(section, 0), + tabIndex, + triggerSource: topBarContent._dashTriggerSource(section, tabIndex), mode: "click", useCenterSection: true, setTriggerScreen: true diff --git a/quickshell/Modules/DankBar/DankBarHoverController.qml b/quickshell/Modules/DankBar/DankBarHoverController.qml index f200637b4..463fdde21 100644 --- a/quickshell/Modules/DankBar/DankBarHoverController.qml +++ b/quickshell/Modules/DankBar/DankBarHoverController.qml @@ -736,7 +736,7 @@ Item { case "music": case "weather": { - const tabIndex = widgetId === "clock" ? 0 : SettingsData.dashTabIndexForId(widgetId === "music" ? "media" : "weather"); + const tabIndex = SettingsData.dashTabIndexForId(widgetId === "clock" ? "overview" : (widgetId === "music" ? "media" : "weather")); return barContent.openWidgetPopout(Object.assign({}, base, { loader, tabIndex,