-
Notifications
You must be signed in to change notification settings - Fork 16
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
Set background color via style.css #224
Comments
.frame {
background: rgba (255, 255, 255, 0.5);
} However, this does not seem like a good solution as it doesn't modify the window directly and requires making the window completely transparent. However, using any variation of the |
Agreed. Honestly, specifying background color via arguments is kinda ugly, and we have to provide option to tweak it via CSS. I'll look into it, but no hard promises :) |
Thanks! I've also been trying to read up on how to do it. I've been looking into waybar how does it, as I've noticed it can take |
The following works window > box {
background-color: #abcdef
} but it's not pretty at all.
This could be done by |
Yes, I have seen that in the Waybar code here: src/bar.cpp#L489 and have thought about adding something similar to window > box {
background-color: rgba(123, 23, 45, 0.5)
} does work with window > scrolled window {
background-color: rgba(123, 23, 45, 0.5)
} However, both need to be launched with the |
For both nwggrid and nwgbar, the background can be set using the
-b
option, with the opacity also be defined by-o
. However, as both nwggrid and nwgbar havestyle.css
files, it would make more sense to set this there and not via command line options.The text was updated successfully, but these errors were encountered: