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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Configs/.config/waybar/modules/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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.

min-height: 10px;
}

Expand Down Expand Up @@ -99,6 +99,8 @@ ${modules_ls}
margin: ${x1g_margin}px ${x2g_margin}px ${x3g_margin}px ${x4g_margin}px;
padding-${x3}: ${g_paddin}px;
padding-${x4}: ${g_paddin}px;

border-bottom: 2px solid @wb-hvr-bg; /* dynamic lower shadow */
}

#workspaces,
Expand Down