Comments (8)
Radius is not possible, wob only draws rectangles.
Colors can be customized either on the command line (see wob --help
) or when piping commands to it (eg 42 #aarrggbb #aarrggbb #aarrggbb
, colors being background, border and bar respectively).
Geometry can be customized on the command line, too (see wob --help
as well).
from wob.
Thanks, is there any way to add the radius feature ?
from wob.
Thanks, is there any way to add the radius feature ?
Yes, but you'd have to do some maths and calculate the pixels for the arc manually (e.g. Bresenham algorithm) since wob does not use any graphics library.
from wob.
Any exemple to understand ?
from wob.
Any exemple to understand ?
Here is some information if you want to try to implement it: http://members.chello.at/~easyfilter/bresenham.html
from wob.
I use wob 0.8.1 and i don't see anything related to colors configuration in wob --help
.
But it works with for exemple echo "45 #929292A #303030AA #929292AA" | wob
.
➜ wob --help 17:36:01
wob: invalid option -- '-'
Usage: wob [options]
-h Show help message and quit.
-v Show the version number and quit.
-t <ms> Hide wob after <ms> milliseconds, defaults to 1000.
-m <%> Define the maximum percentage, defaults to 100.
-W <px> Define display width in pixels, defaults to 400.
-H <px> Define display height in pixels, defaults to 50.
-o <px> Define border offset in pixels, defaults to 4.
-b <px> Define border size in pixels, defaults to 4.
-p <px> Define bar padding in pixels, defaults to 4.
-a <s> Define anchor point; one of 'top', 'left', 'right', 'bottom', 'center' (default).
May be specified multiple times.
-M <px> Define anchor margin in pixels, defaults to 0.
-O <name> Define output to show bar on or '*' for all. If ommited, focused output is chosen.
May be specified multiple times.
No way to add colors in config file ? it will centralize config and would be easier to implement...
from wob.
For the radius feature, a user friendly config would be great, i can't understand why you can't wrap maths in wob to calculate radius.
EDIT: i just get what you mean. I'm not dev, that's a feature request.
from wob.
No way to add colors in config file ?
No.
Thanks, is there any way to add the radius feature ?
Maybe. Not a priority in my eyes right now.
I use wob 0.8.1 and i don't see anything related to colors configuration in wob --help.
It will be part of a next release.
from wob.
Related Issues (20)
- Replace -v with WOB_LOG_LEVEL env variable
- new release planned? HOT 1
- Two bars on dual monitor setup HOT 3
- unknown keys border and offset HOT 2
- Feature request: allow margin for top/bottom and left/right HOT 2
- Thank you for implementing config files HOT 1
- thank you, using wob as a screenshot notice
- New release HOT 1
- WOB template HOT 1
- hyprland compatible?
- [feature req] Accept more inputs? HOT 3
- Sandbox make wob to crash instantly on aarch64 HOT 7
- fifo input: doc improvement
- Negative numbers support?
- Feature request: Rounded corners HOT 1
- Reloading sway config file does not change aspect of bar HOT 3
- Exec doesn't run custom configuration HOT 4
- feature req: color segments
- -c option doesn't work if wob.ini exists HOT 1
- Use pixman for drawing 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 wob.