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

Unsure how to make use of the examples #5

Open
ngirard opened this issue Mar 4, 2020 · 6 comments
Open

Unsure how to make use of the examples #5

ngirard opened this issue Mar 4, 2020 · 6 comments

Comments

@ngirard
Copy link
Contributor

ngirard commented Mar 4, 2020

Heya,

I just compiled successfully 3 of the 4 example programs, but nothing happens when running them:

cargo run --example todo_app
cargo run --example simple_window
cargo run --example simple_action

Is it expected ?
Cheers !

@abatkin
Copy link

abatkin commented Aug 16, 2020

Do you have rofi in your PATH when you run it?

@krruzic
Copy link
Owner

krruzic commented Aug 18, 2020

Hey, thanks for the issue. As abatkin said, check that first. I actually have a half-done major rewrite to this that I really need to push, I'm gonna make time this week to see what I have (its been way too long).
I really didn't expect this to be used by anyone which is why this issue went unanswered for so long.
@abatkin @ngirard @rupansh if you're still interested in this project let me know and watch for a commit here that changes a bunch of stuff. I'm also looking for feedback in how to make this better: one idea I have is support for "tabs" using the multi-menu feature of rofi.

@mattlennon3
Copy link

mattlennon3 commented Nov 14, 2020

Hi @krruzic, I just stumbled across this repo after looking for some examples of a rofi/rust project. The todo example is really great!

Could you please let me know if I am missing something, but how would I actually build an example to a .so file or something rofi can use? I also use rofi-calc and that puts a .so file into /usr/lib/rofi, so I was hoping to do the same for a rofi plugin I was hoping to make. <- Sorry, I was being lazy here. I haven't used rust for a few months and it's pretty obvious I just need to add your crate and use it in my project like in the examples :P
Thanks!

@ngirard
Copy link
Contributor Author

ngirard commented Nov 14, 2020

Wow. For some reason I completely missed this issue's comments until @mattlennon3's.

@abatkin, thanks for your comment, that was indeed the issue.
@krruzic, as obvious at it may seem, would you mind adding to the README that Rofi is needed ?

if you're still interested in this project let me know and watch for a commit here that changes a bunch of stuff

Yeah, definitely interested !

Feel free to close this issue. I'm leaving it open because of @mattlennon3's request.

Cheers !

@ngirard
Copy link
Contributor Author

ngirard commented Nov 14, 2020

Also @mattlennon3 , FWIW, I just stumbled upon dmenu-rs which was never announced on /r/rust. Perhaps an opportunity for you guys to work together ? That would be great !

@mattlennon3
Copy link

Cheers for the replies @ngirard. I have noticed dmenu-rs but I have tried dmenu before and would prefer to use rofi atm 😄

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

No branches or pull requests

4 participants