Add 2 new options:
1) --print-sel argument to print all selections in clipmenu
2) CM_INPUT_CLIP to accept selection from stdin
The reasoning behind this is to bypass clipmenu for getting a selection.
For example: clipmenu --print-sel | fzf | CM_INPUT_CLIP=1 clipmenu
For my user case I found a need for it so I can preprocess the output of fzf before piping it back into clipmenu.
This is because fzf prints out extra information, apart from the selection, in some circumstances and clipmenu can't handle with such a scenario.
Add 2 new options: 1) --print-sel argument to print all selections in clipmenu 2) CM_INPUT_CLIP to accept selection from stdin
The reasoning behind this is to bypass clipmenu for getting a selection. For example:
clipmenu --print-sel | fzf | CM_INPUT_CLIP=1 clipmenu
For my user case I found a need for it so I can preprocess the output of fzf before piping it back into clipmenu. This is because fzf prints out extra information, apart from the selection, in some circumstances and clipmenu can't handle with such a scenario.