Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line option to control whether the bar is at the top or bottom? #21

Open
mjkillough opened this issue Jun 19, 2017 · 4 comments

Comments

@mjkillough
Copy link
Owner

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!

@bew
Copy link

bew commented May 30, 2020

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?

@mjkillough
Copy link
Owner Author

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.

@bew
Copy link

bew commented May 31, 2020

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?)

@mjkillough
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants