Skip to content
Myr

Add rofi to integration with other programs in README.md

Before adoption: this commit came in with the history the project adopted, so no landing records it.

As discussed in ISSUE #753

authored by Kaspar · committed by David Peter · parent f60b768 · Browse files · 1 file+14 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+14 added−0 removed

  • other:+14 added−0 removed

1 file+14 added−0 removed

modified:README.md+14 added
424 unmodified lines
425```426427For more details, see the [Tips section](https://github.com/junegunn/fzf#tips) of the fzf README.428429### Using fd with `rofi`430431[*rofi*](https://github.com/davatorium/rofi) is a graphical launch menu application that is able to create menus by reading from *stdin*. Piping `fd` output into `rofi`s `-dmenu` mode creates fuzzy-searchable lists of files and directories.432433#### Example434435Create a case-insensitive searchable multi-select list of *PDF* files under your `$HOME` directory and open the selection with your configured PDF viewer. To list all file types, drop the `-e pdf` argument.436437``` bash438fd --type f -e pdf . $HOME | rofi -keep-right -dmenu -i -p FILES -multi-select | xargs -I {} xdg-open {}439```440441To modify the list that is presented by rofi, add arguments to the `fd` command. To modify the search behaviour of rofi, add arguments to the `rofi` command.442443### Using fd with `emacs`444445The emacs package [find-file-in-project](https://github.com/technomancy/find-file-in-project) can446use *fd* to find files.
209 unmodified lines