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

Use as a modi #24

Closed
farzadmf opened this issue Sep 30, 2019 · 6 comments
Closed

Use as a modi #24

farzadmf opened this issue Sep 30, 2019 · 6 comments

Comments

@farzadmf
Copy link

Hi,

First of all, thank you for the interesting work you've done on this project. I was just wondering if this script has to be executed stand-alone, or is it possible to integrate it into the "normal" rofi I use, and maybe switch to this modi using Ctrl-Tab

Thank you

@fdw
Copy link
Owner

fdw commented Sep 30, 2019

Hi,

I've thought about this as well, but it seems difficult to achieve the nested dialog for color, for example.
At least for now, I'm not actively working on it. So if you want, play with it and open a PR 😉

@farzadmf
Copy link
Author

Cool, thank you for your reply. I'll see what I can do :). So, I'm not going to close this as something might happen for it

@fdw
Copy link
Owner

fdw commented Oct 13, 2019

I have looked into this a bit deeper, and I still think it can be done, but only with a lot of effort.

Basically, rofi would call a script to get a list of options. After the user chose, the script gets called again with the selection as arguments. Therefore, in order to support the nested menus, rofimoji would have to keep track of its state in a file somewhere.

If anyone wants to implement these, I'd love to merge it! So far, however, I'm not sure whether I want to rewrite everything...

@fdw
Copy link
Owner

fdw commented Nov 10, 2019

Another update: I've looked even deeper into this, but there is a big obstacle: You cannot use custom keybindings with a mode 😟
So, what could be done is to use cli parameters or a submenu where you have to choose the insertion mode. Both don't feel good, to be honest.

Does anyone have an opinion on this?

@polyzen
Copy link
Contributor

polyzen commented Nov 10, 2019

I have no experience with using modi as I only have the run modi enabled. I gave rofimoji top priority (added 99999 rofimoji to the top of my .cache/rofi-3.runcache), so all I have to do it win+d+enter.

@fdw
Copy link
Owner

fdw commented Dec 28, 2019

I spent some more time on this idea, and while I'd love to have a combi mode of rofimoji with different character sets, I don't see it working without custom keybindings.

I'll close this ticket, as I won't implement it. If anyone else wants to, feel free. I'm open to PRs.

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

3 participants