selected-row in script mode #1640
-
hi, i want to enable selected-row in script mode by using rofi_view_set_selected_line or listview_set_selected function. is there any way to get state or listview variable in source/modes/script.c like state->list_view in source/modes/dmenu.c ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No, this won't work and should not be implemented. |
Beta Was this translation helpful? Give feedback.
-
You're right, this won't work this way. But, I have done it another way. |
Beta Was this translation helpful? Give feedback.
You're right, this won't work this way. But, I have done it another way.
It's actually very easy to implement and works perfectly.