Command line option to control whether the bar is at the top or bottom?
mjkillough opened this issue · comments
Currently hard-coded and changed often while debugging. I'm sick of having to commit to change it back to the bottom before I install a new version on my system!
Hello! Maybe a future user of this lib (:
I'd be interested in this as well.
Also: the readme does not mention the cli you're talking about in this issue, what does the cli do? Simply run the bar? Or does it have other features?
This issue refers to the bin/cnx.rs
that's included in this repository, which is intended as an example and something used for testing. An argument to toggle the position would be useful for this, as I often set it to Top
in the code when testing (whereas my 'real' bar is on the bottom), but then forget and accidentally commit my change.
There's no configurable CLI for this program. The intent is that you depend on cnx
as a library, and then create your own CLI, similar to how it's done in bin/cnx.rs
.
Please be aware that the code in master is currently unreleased, so doesn't work on Linux at the moment. The version on crates.io should be useable.
Oh okay that makes more sense, thanks!
master is currently unreleased, so doesn't work on Linux at the moment
Thanks for the info, what does not work for Linux? (maybe create a separate issue for this?)
I've re-written a number of widgets in the master branch to use APIs available only on OpenBSD. I need to boot back into Linux in order to add Linux support back to them before I can release the next version. If you stick with the 0.2 version on crates.io, this shouldn't be a problem.