Comments (6)
what would be the line to put into my bspwmrc or other config file to get the double border for all types of windows, from URxvt to Firefox?
There is no answer to that question because your question is incorrect.
As neasade said, chwb2
require that you pass the window ID of the window to affect in argument. For example:
chwb2 -O 000000 -I ffff00 -i 3 -o 1 0x23
If you want to apply that to all windows, then you have to run this command one time per window you have, or script it, like this for example:
lsw | xargs -n1 chwb2 -O 000000 -I ffff00 -i 3 -o 1
One problem you'll have is that the borders will look bad when you move the windows. This is because the internal border is drawn using absolute coordinates from you desktop. This is not a bug, just the way it works. When a window move, you have to redraw the 2-border pixmap (that is how 2bwm does it).
So to answer your question, you need to find a way to run a command whenever a window move, get its window ID (hint: use pfw
/lsw
) and run the chwb2
command with the window ID as the last argument.
Hope that helps, cheers
from opt.
The arguments following your example should be window IDs to draw on
from opt.
Thank you for your answer man! really appreciate that but I do not completely understand, what would be the line to put into my bspwmrc or other config file to get the double border for all types of windows, from URxvt to Firefox?
Thanks, sorry for being annoying
from opt.
Closing as it is not an issue but misuse of the tool.
from opt.
Hello, well thank you for your detailed reply, sorry for this late reply but I was studying for exams...
Well it creates borders when I run this command:
lsw | xargs -n1 chwb2 -O 000000 -I ffff00 -i 3 -o 1
but it also throws out a bunch of "errors" maybe? Also I can't increase my double borders size...
chwb2: warning: pixmap is greater than border size
chwb2: warning: pixmap is greater than border size
chwb2: warning: pixmap is greater than border size
chwb2: warning: pixmap is greater than border size
chwb2: warning: pixmap is greater than border size
chwb2: warning: pixmap is greater than border size
chwb2: warning: pixmap is greater than border size
usage: chwb2 <-I color> <-O color> <-i size> <-o size> [wid...]
usage: chwb2 <-I color> <-O color> <-i size> <-o size> [wid...]
usage: chwb2 <-I color> <-O color> <-i size> <-o size> [wid...]
usage: chwb2 <-I color> <-O color> <-i size> <-o size> [wid...]
chwb2: warning: pixmap is greater than border size
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
I'm back to you because I don't really know how to handle this output...
thanks for the high quality assistance ;)
from opt.
from opt.
Related Issues (20)
- Setting -m 4 blocks window event 7 from being produced. HOT 4
- Bring back xmmv HOT 4
- resize window HOT 6
- respond to fullscreen request? HOT 1
- xmmv doesn't allow movement from one monitor to another
- wew returns incorrect data HOT 5
- typo in README.md HOT 1
- Function name in xmmv.c? HOT 2
- wew blocks mouse1 when the mask XCB_EVENT_BUTTON_PRESS HOT 8
- xmmv doesn't work properly when called from polybar HOT 4
- `wew` doesn't print window focus events if the mouse isn't on a window HOT 3
- chwb2 not working as expected HOT 6
- wew functionality HOT 3
- Strange chwb2 borders HOT 20
- How to build on FreeBSD HOT 2
- You're not supposed to understand this issue. HOT 1
- chwb2 problem HOT 3
- wew doesn't catch event 4 (button press) or 5 (button release). HOT 1
- wew with mask grabs click event HOT 7
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 opt.