@@ -166,11 +166,12 @@ TaskbarWidget::TaskbarWidget(
166166)
167167 : m_platform(platform), m_configService(config), m_output(output), m_configOptions(std::move(options)),
168168 m_showAllOutputs(m_configOptions.showAllOutputs), m_focusedOutputOnly(m_configOptions.focusedOutputOnly),
169- m_showActiveIndicator(m_configOptions.showActiveIndicator), m_activeOpacity(m_configOptions.activeOpacity),
170- m_inactiveOpacity(m_configOptions.inactiveOpacity), m_focusedColor(m_configOptions.focusedColor),
171- m_occupiedColor(m_configOptions.occupiedColor), m_emptyColor(m_configOptions.emptyColor),
172- m_windowTitleMaxWidth(m_configOptions.windowTitleMaxWidth), m_taskbarMaxWidth(m_configOptions.taskbarMaxWidth),
173- m_barPosition(std::move(m_configOptions.barPosition)), m_shadowConfig(m_configOptions.shadowConfig) {
169+ m_minimal(m_configOptions.minimal), m_showActiveIndicator(m_configOptions.showActiveIndicator),
170+ m_activeOpacity(m_configOptions.activeOpacity), m_inactiveOpacity(m_configOptions.inactiveOpacity),
171+ m_focusedColor(m_configOptions.focusedColor), m_occupiedColor(m_configOptions.occupiedColor),
172+ m_emptyColor(m_configOptions.emptyColor), m_windowTitleMaxWidth(m_configOptions.windowTitleMaxWidth),
173+ m_taskbarMaxWidth(m_configOptions.taskbarMaxWidth), m_barPosition(std::move(m_configOptions.barPosition)),
174+ m_shadowConfig(m_configOptions.shadowConfig) {
174175 syncWorkspaceGroupingCapability ();
175176 buildDesktopIconIndex ();
176177}
@@ -607,7 +608,7 @@ void TaskbarWidget::buildTaskButtons(Renderer& renderer) {
607608 const auto styleWorkspaceDisc = [this ](Box& badge, float width, float height, const Workspace& workspace) {
608609 badge.setFrameSize (width, height);
609610 badge.setRadius (resolvedBarCapsuleRadius (width, height));
610- badge.setFill (workspaceFillColor (workspace));
611+ badge.setFill (m_minimal ? clearColorSpec () : workspaceFillColor (workspace));
611612 badge.clearBorder ();
612613 };
613614
@@ -647,7 +648,7 @@ void TaskbarWidget::buildTaskButtons(Renderer& renderer) {
647648 .fontSize = badgeFontSize,
648649 .fontWeight = fontWeight,
649650 .fontFamily = fontFamily,
650- .color = workspaceTextColor (ws.workspace ),
651+ .color = m_minimal ? workspaceFillColor (ws. workspace ) : workspaceTextColor (ws.workspace ),
651652 });
652653 badgeText->measure (renderer);
653654 badgeText->setPosition (
@@ -693,7 +694,7 @@ void TaskbarWidget::buildTaskButtons(Renderer& renderer) {
693694 .fontSize = badgeFontSize,
694695 .fontWeight = fontWeight,
695696 .fontFamily = fontFamily,
696- .color = workspaceTextColor (ws.workspace ),
697+ .color = m_minimal ? workspaceFillColor (ws. workspace ) : workspaceTextColor (ws.workspace ),
697698 });
698699 badgeText->measure (renderer);
699700 badgeText->setPosition (
0 commit comments