rofi icon indicating copy to clipboard operation
rofi copied to clipboard

[REQUEST] combi live input to other plugins/modes

Open zspher opened this issue 6 months ago • 1 comments

Before opening a feature request

  • [x] I checked the next branch to see if the feature has already been implemented
  • [x] I searched existing reports to see if it is already requested.

What is the user problem or growth opportunity you want to see solved?

Hi,

I'm trying to create a calc plugin for rofi in rust with rink. As a part of the plugin, I update the top most entry with the current user input every time a character is input with rofi_view_reload() on _preprocess_input.

I have tested this with my mode's _preprocess_input but _preprocess_input is never called by combi.

I am trying to integrate the plugin with combi mode. Can a feature to combi that allows a reload of entries, in general or when a plugin's bang prefix is triggered?

How do you know that this problem exists today? Why is this important?

This feature allows immediate results for users who use plugins like calculators.

Who will benefit from it?

plugin creators that need constantly updated content on user input

Rofi version (rofi -v)

1.7.9+wayland1

Configuration

https://gist.github.com/zspher/103fb661067d0d6345dc22ecc55116ad

Additional information

No response

zspher avatar Jun 05 '25 21:06 zspher

I have found a partial solution for this on my end - reload entries on result MENU_OK & MENU_CUSTOM_ACTION.

zspher avatar Jun 26 '25 04:06 zspher