display-columns
functionality in custom scripts
#1993
punk-dev-robot
started this conversation in
General
Replies: 1 comment 2 replies
-
Depending on the version of rofi, you can have an invisible field (info) passed in script mode, that gets set in an environment (ROFI_INFO) when that row is selected.. See manpage. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I wrote a custom rofi script for managing clipboard history and would really like to use an option similar to
display-columns
fromdmenu
mode. Thecliphist
commands that I use needid
field from selection but I don't want to display it. I think that functionality could be very useful for anything that uses privateid
field for entries, and looks like it's already implemented fordmenu
mode.Here is my script as it may explain it better :)
I would appreciate any pointers how to achieve that.
I converted my script to
dmenu
one that runs inwhile true;
loop but I think it's less elegantBeta Was this translation helpful? Give feedback.
All reactions