Skip to content

fix: reapply colors for padding after suffix#2898

Open
indev29 wants to merge 1 commit into
polybar:masterfrom
indev29:master
Open

fix: reapply colors for padding after suffix#2898
indev29 wants to merge 1 commit into
polybar:masterfrom
indev29:master

Conversation

@indev29

@indev29 indev29 commented Jan 18, 2023

Copy link
Copy Markdown
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Other: Replace this with a description of the type of this PR

Description

Not the prettiest, but straightforward solution for #2814.

I've read #544 and #729 and figured that prefixes do respect "parent" colors, while suffixes don't.

format-prefix = "prefix"
; format-prefix-background = #ff0000
format-suffix = "suffix"
; format-suffix-background = #00ff00
; format-suffix-foreground= #000000
format-background = #0000ff
format-padding = 15px

image

We can fix this in the same PR by reapplying colors before suffix, but this is somewhat breaking.

Related Issues & Documents

Closes #2814

Documentation (check all applicable)

  • This PR requires changes to the Wiki documentation (describe the changes)
  • This PR requires changes to the documentation inside the git repo (please add them to the PR).
  • Does not require documentation changes

@codecov

codecov Bot commented Jan 18, 2023

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 13.17%. Comparing base (fc423c0) to head (9f0b22a).
⚠️ Report is 191 commits behind head on master.

Files with missing lines Patch % Lines
src/modules/meta/base.cpp 0.00% 13 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2898   +/-   ##
=======================================
  Coverage   13.17%   13.17%           
=======================================
  Files         162      162           
  Lines       11509    11506    -3     
=======================================
  Hits         1516     1516           
+ Misses       9993     9990    -3     
Flag Coverage Δ
unittests 13.17% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: format-padding only applies to left side of workspaces block in i3 module

1 participant