File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -764,9 +764,9 @@ void CHyprBar::updateRules() {
764764 if (PWINDOW->m_ruleApplicator ->m_otherProps .props .contains (g_pGlobalState->nobarRuleIdx ))
765765 m_hidden = truthy (PWINDOW->m_ruleApplicator ->m_otherProps .props .at (g_pGlobalState->nobarRuleIdx )->effect );
766766 if (PWINDOW->m_ruleApplicator ->m_otherProps .props .contains (g_pGlobalState->barColorRuleIdx ))
767- m_bForcedBarColor = CHyprColor (configStringToInt (PWINDOW->m_ruleApplicator ->m_otherProps .props .at (g_pGlobalState->nobarRuleIdx )->effect ).value_or (0 ));
767+ m_bForcedBarColor = CHyprColor (configStringToInt (PWINDOW->m_ruleApplicator ->m_otherProps .props .at (g_pGlobalState->barColorRuleIdx )->effect ).value_or (0 ));
768768 if (PWINDOW->m_ruleApplicator ->m_otherProps .props .contains (g_pGlobalState->titleColorRuleIdx ))
769- m_bForcedTitleColor = CHyprColor (configStringToInt (PWINDOW->m_ruleApplicator ->m_otherProps .props .at (g_pGlobalState->nobarRuleIdx )->effect ).value_or (0 ));
769+ m_bForcedTitleColor = CHyprColor (configStringToInt (PWINDOW->m_ruleApplicator ->m_otherProps .props .at (g_pGlobalState->titleColorRuleIdx )->effect ).value_or (0 ));
770770
771771 if (prevHidden != m_hidden)
772772 g_pDecorationPositioner->repositionDeco (this );
You can’t perform that action at this time.
0 commit comments