Find files and directories in Ulauncher using fzf (and fd).
- Fuzzy searching for files, directories or both
- Allow hidden files to be searched
- Specify preferred number of results returned
- Specify base directory to be searched
- Ignore certain files and directories - you can do this by creating an ignore-file which follows the
.gitignore
format, then specify the path to ignore-file in the extension's settings.
Actions:
- Click or press "Enter" to open
- file with default application
- directory in your file manager
- Press "Alt+Enter" to open the directory in which the file is contained.
If the path is a directory, this will be the same as pressing Enter
You can use command runners make
or just
to run project-specific commands. Any make
target can also be run with just
. E.g., make dev
or just dev
-
Clone repository
git clone https://github.com/hillaryychan/ulauncher-fzf.git
-
(Optional) Install developer dependencies.
This is used to install dependencies for runninglint
andlint-fix
. It will require Python 3.10 and poetry.make setup
-
Create a symlink to the Ulauncher extensions directory
make link
-
Stop Ulauncher
-
Run Ulauncher with no extensions and logging enabled
make dev
-
In a separate terminal, run ulauncher-fzf.
The command to run the extension should be visible in the logging for Step 4. It should look like this:VERBOSE=1 ULAUNCHER_WS_API=ws://127.0.0.1:5050/ulauncher-demo PYTHONPATH=/home/username/projects/ulauncher /usr/bin/python /home/username/.local/share/ulauncher/extensions/ulauncher-demo/main.py
Full list of targets for the command runners:
setup
- install developer dependencieslint
- run code lintersformat-check
- run code formatter checksformat
- run code formatterslink
- create symlink to Ulauncher extensions directoryunlink
- remove symlink created bylink
start
- run Ulauncher with logging enableddev
- run Ulauncher with no extensions and logging enabled
All contributions are welcome. Raise an issue or open a pull request.
This source code is licensed under the MIT license.