Comments (5)
nwgbar -b 000000 -o 0
or nwgbar -b 00000000
both make it possible so that the color of the background is provided by the .frame
attribute below to nwgbar/style.css
.
.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 window
or .background
attributes do not affect the window/background color.
from nwg-launchers.
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 :)
from nwg-launchers.
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 window#waybar{}
to set the background color, though no equivalent CSS key currently exists for nwggrid
or nwgbar
that I could find. I'll keep you updated on anything else I find.
from nwg-launchers.
The following works
window > box {
background-color: #abcdef
}
but it's not pretty at all.
window#waybar
This could be done by set_name("waybar")
on the box.
from nwg-launchers.
Yes, I have seen that in the Waybar code here: src/bar.cpp#L489 and have thought about adding something similar to nwggrid
and nwgbar
.
window > box {
background-color: rgba(123, 23, 45, 0.5)
}
does work with nwggrid
, and I have been able to do the same with nwgbar
using
window > scrolled window {
background-color: rgba(123, 23, 45, 0.5)
}
However, both need to be launched with the -o 0
flag to get the opacity right, otherwise it overlays the color on top of the default one. Honestly, this is overall not too bad.
from nwg-launchers.
Related Issues (20)
- Helpful hint for FreeBSD & minimalist DE users. HOT 2
- slow launch time :[ HOT 12
- nwgbar: Better Shorcuts HOT 1
- nwgbar: Class Styling HOT 4
- nwggrid: Add Categories HOT 4
- Graphics glitches in the current git version HOT 2
- screenshots not available (return 404)
- Error when launching programs located in home directory HOT 2
- nwgbar fails to start with default config: -gtk-icon-style is not recognized HOT 3
- version mismatch
- nwggrid does not stick to consistent icon theme HOT 4
- nwggrid: sending signal should hide the window if it's currently visible
- nwggrid: grid.conf is not being found if it's not present in the topmost config directory
- Use emoji in category names by default HOT 1
- "nwggrid-server -no-categories" fails with json exception HOT 1
- Enable setting icon size and column width in JSON config HOT 2
- Can't search by keyword in grid
- nwggrid: Long label changes grid columns HOT 7
- Feature: Change text color HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nwg-launchers.