Coder Social home page Coder Social logo

hillaryychan / ulauncher-fzf Goto Github PK

View Code? Open in Web Editor NEW
49.0 1.0 8.0 126 KB

Find files and directories in Ulauncher using fzf (and fd)

Home Page: https://ext.ulauncher.io/-/github-hillaryychan-ulauncher-fzf

License: MIT License

Python 85.16% Makefile 5.42% Just 9.42%
ulauncher ulauncher-extension fzf

ulauncher-fzf's People

Contributors

hillaryychan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ulauncher-fzf's Issues

FZF is not found even if it is installed

Good day, I installed the extension for ulauncher from the ulauncher site and found this github site, I'm creating an issue as I have installed fzf from its own github and is working but ulauncher's extension is not detecting it, any help is much appreciated

image

im on debian 12 stable, xfce, gnome dark prof theme

Thank you

please show example on how to ignore a file and path

I really enjoy using this extension (great work!), but would like to ignore searching some directories and not sure what ".gitignore format" means when you say to "Specify path to ignore-file in '.gitignore' format", Could you provide a few examples of what the format looks like if you want to ignore:

  1. one file
  2. more than one file
  3. one directory
  4. more than one directory

On by default / no keyword

Is it possible for fzf to be launched always and be merged with other searches, or is this not possible with this launcher ?
I don't know if this is a silly question, sorry if it.
I ask this since I've used other launchers (mainly on Windows and currently flow-launcher) and even krunner seemed to have the ability to do both. I wonder if this is possible here, but I am not sure if it is on the configuration of this plugin or something needs to be changed upstream.
Thank you for your attention.

TypeError: 'type' object is not subscriptable

Hi, I wanted to try this but I couldn't make it work:

$ ulauncher
Traceback (most recent call last):
  File "/home/bdu/.local/share/ulauncher/extensions/com.github.hillaryychan.ulauncher-fzf/main.py", line 18, in <module>
    BinNames = dict[str, str]
TypeError: 'type' object is not subscriptable
2022-03-01 14:29:02,888 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.hillaryychan.ulauncher-fzf" exited instantly with code 1
2022-03-01 14:29:02,888 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.hillaryychan.ulauncher-fzf" failed with an error: TypeError: 'type' object is not subscriptable

What did I miss?

$ python --version
Python 2.7.17
$ python3 --version
Python 3.6.9
$ fd --version
fd 8.3.1
$ fzf --version
0.29.0 (dc975e8)
$ ulauncher --version
ulauncher 5.14.3

Running Elementary OS:

$ cat /etc/*release
DISTRIB_ID=elementary
DISTRIB_RELEASE=5.1.7
DISTRIB_CODENAME=hera
DISTRIB_DESCRIPTION="elementary OS 5.1.7 Hera"
NAME="elementary OS"
VERSION="5.1.7 Hera"
ID=elementary
ID_LIKE=ubuntu
PRETTY_NAME="elementary OS 5.1.7 Hera"
LOGO=distributor-logo
VERSION_ID="5.1.7"
HOME_URL="https://elementary.io/"
SUPPORT_URL="https://elementary.io/support"
BUG_REPORT_URL="https://github.com/elementary/os/issues/new"
PRIVACY_POLICY_URL="https://elementary.io/privacy-policy"
VERSION_CODENAME=hera
UBUNTU_CODENAME=bionic

Custom number of search results

Works like a charm now. Thank you for fixing this so fast and also for this beautiful extension! This is exactly what I was looking for. :)

Do you know by any chance, if/how I can make ulauncher output more than 15 results?

Originally posted by @hemanti0503 in #9 (comment)


Allow users to define custom number of search results for the extension

Loading ...

It doesn't work for me, unfortunately (uLauncher 5.14.3). All I get after typing in "fzf" is "Loading...".

image

I tried different settings, including choosing a different start folder, excluding files, only searching for directories, ... Nothing helps, though.

Anything I could do to debug? I've installed all the dependencies.

Allow to follow symbolic links

Hi, should be nice to have an option(similar to hidden files) to pass --follow to fd and follow symbolic links.
Thanks

extension is super slow

The extension works correctly for me, but there's a 3-5 second delay between typing in the query and seeing the results. If I use fzf on the command line from the same directory with the same query, it's blazingly fast. Help?

Missing installing the requirements on ulauncher extension description

After reading and installing the requirements on the GitHub page.... it works! ๐Ÿ˜ƒ ๐Ÿ‘

Please put a little reminder on the extension description page that one should install those tools first. (I'm a coder, but I'm intentionally doing this from a users' perspective)

Originally posted by @oktayacikalin in #9 (comment)


Make it clear that fzf and fd should be installed for extension to be used on https://ext.ulauncher.io/-/github-hillaryychan-ulauncher-fzf

searching beyond the home directory?

The uLauncher-fzf extension is great! I agree with many others here that this functionality should be rolled into uLauncher by default.

Not sure if this is a feature request or simply a setup question (setting a config file or creating some strategic symlinks perhaps?), but is there any way I can expand the search beyond the home directory?

For regulatory compliance reasons I'm required to keep a subset of my files on a separate LUKS partition. I'd love to be able to access the files using uLauncher-fzf if at all possible.

Thanks!

Feature request: copy path on ctrl+enter

Opening a file or directory are definitely the most important features, but I would find it very useful to have a way to copy the highlighted file path. Sometimes you just need to find some file and paste its path somewhere.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.