Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor waybar changes (dynamic lower shadowing) #1200

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

moguay
Copy link
Contributor

@moguay moguay commented Mar 26, 2024

2 Changes into the waybar css

  • Feat, adding dynamic lower shadowing of waybar buttons
  • Fix, disable font-size to manage it size automatically the font size on multi size screen / bar size

This last one is a concern when you are forced to have a different size bar on each screen (different resolution or scale).

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

image

2 Changes into the waybar css
- Feat, adding dynamic lower shadowing of waybar buttons
- Fix, disable font-size to manage it size automatically the font size on multi size screen / bar size

This last one is a concern when you are forced to have a different size bar on each screen (different resolution or scale).
@@ -3,7 +3,7 @@
border-radius: 0px;
font-family: "JetBrainsMono Nerd Font";
font-weight: bold;
font-size: ${s_fontpx}px;
/* font-size: ${s_fontpx}px; disabled for multi monitor support */
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you, but the scaling is way off in my monitor when the font size is not specified!
I think this should be handled by ~/.config/waybar/config.ctl, for example when col 2 is empty, then remove this line, else if size is specified in col 2, then use that font size.

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.

None yet

2 participants