Skip to content

privacy: missing css module class #4034

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

Open
czkz opened this issue Apr 6, 2025 · 2 comments
Open

privacy: missing css module class #4034

czkz opened this issue Apr 6, 2025 · 2 comments
Labels

Comments

@czkz
Copy link

czkz commented Apr 6, 2025

The following css is not applied to the privacy module, but it should be:

.module {
  background-color: red;
}

This results in red background being visible on other modules, but not privacy.

@github-actions github-actions bot added the custom label Apr 6, 2025
@Aron22563
Copy link

Im still new to solving other people's issues so feel free to give me tips on how to improve!

Whats the issue

Hey i have limited knowledge on general customizations but if you would like to stick with a similar configuration (which might not be the best idea) go for something like this:

.modules-right, .modules-center, .modules-left {
background-color: red;
}

I recommend switching to a more detailed styling practice of defining individual module styles like this and maybe using general rules as fallback:

#privacy {
background-color: red;
}
.module {
background-color: blue;
}

Wiki

General Styling Settings
If you were looking for an explanation why the .module rule does not apply to the privacy module i sadly cant help you. I might look into it later though, looks interesting :)

@czkz
Copy link
Author

czkz commented Apr 14, 2025

Thanks!
I ended up using something similar to your second example for now.
Pretty sure this is a bug though.

You can inspect css classes with GTK_DEBUG=interactive waybar in the "Objects" tab in "Style Classes" column - the "module" class is present on other modules, but not on privacy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants