Rofi: Find files

Created on 2 Feb 2015  路  5Comments  路  Source: davatorium/rofi

Hi @DaveDavenport,

I just came across Mutate, another launcher with one very useful feature: finding and opening files.

Could such a feature be added to rofi as well?

Thankfully,

Robert

Most helpful comment

Looks a lot like albert (https://github.com/ManuelSchneid3r/albert) they seem to be popping up a lot.
I have a file-browser script for rofi that allows you to quickly open file. This could easily be extended. Maybe with enough demand I will integrate it.

See Examples/rofi-file-browser:

https://github.com/DaveDavenport/rofi/blob/master/Examples/rofi-file-browser.sh

If rofi-file-browser.sh is in path:

rofi -switchers "file:rofi-file-browser.sh" -show file

(Small side note: One of the key things of Rofi was/is (and yes, I am violating it a bit) is to keep it simple, so I would prefer an external script over integrated feature)

All 5 comments

Looks a lot like albert (https://github.com/ManuelSchneid3r/albert) they seem to be popping up a lot.
I have a file-browser script for rofi that allows you to quickly open file. This could easily be extended. Maybe with enough demand I will integrate it.

See Examples/rofi-file-browser:

https://github.com/DaveDavenport/rofi/blob/master/Examples/rofi-file-browser.sh

If rofi-file-browser.sh is in path:

rofi -switchers "file:rofi-file-browser.sh" -show file

(Small side note: One of the key things of Rofi was/is (and yes, I am violating it a bit) is to keep it simple, so I would prefer an external script over integrated feature)

Thank you.

I just tried your script. Am I correct that it only shows the files of the directory in which the rofi-file-browser.sh is located?

In other words, I cannot search for files located somewhere in a subfolder of ~/..., correct?

It should store last location. So once you enter the right directory, it should be there next time.

Sorry for my late response. Indeed the right directory is there!

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

herrsimon picture herrsimon  路  5Comments

vktec picture vktec  路  4Comments

ghost picture ghost  路  3Comments

stefanberndtsson picture stefanberndtsson  路  3Comments

atomheartother picture atomheartother  路  5Comments