Comments (3)
Why is it a problem that wob exits on invalid input? My use-case is that I first try if the script piping into wob works and then include it in service manager / sway config / whatever. And once the script works, it shouldn't really randomly break.
from wob.
This is true! My main idea is to make scripting easier, e.g. in sway/config. It's helped me make some toggles neater, because now a grep
can replace [...] && ... || ...
.
As for the inputs, current wob is fragile but always correct, my proposed wob is robust but might silently coerce bad input. As you say it will only make a difference if underlying tools change, anyway.
I've made a wrapper script that implements this, for my own use. Just thought it might be useful to others :)
It's just an idea, if you're happy with current wob, so am I -- you've made something really useful 😊 thank you!
from wob.
I would also really prefer wob to not exit on invalid input.
Although I do test my scripts it (surprisingly) sometime happens that I miss something and then wob is killed for the session, forcing to either start it manually or restart the whole session for further debugging.
Finally, I don't see how wob exiting is a useful feature in itself, but maybe I am missing some use case
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?
- Sandbox make wob to crash instantly on aarch64 HOT 7
- fifo input: doc improvement
- Negative numbers support?
- feature request: include contrib in releases
- 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.