-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to view/index hidden files #1
Comments
Hi Lasers, thanks for the feedback.
Added support for the following two entries in "valid_extensions"
So if you want to view/index the entire home directory. You'll want the relevant parts of you preferences file to look like:
|
Mark! Thank you very much for implementing this! You just made my I'll get everything out in the open right away. I'm surprised to find that I think it could be very benefiting to make DuckDuckGo a default search DuckDuckGo got a nice bang thing going on. "Search (DDG): !yt ign review resistance 3" would fetch me a direct link to If one were to select a different search engine, one would receive "Search New question. I have a personal bin script (eg, ~/.bin, ~/bin) . Wallpaper Scratch that. I found the answer (filter_binaries) long after I typed up If I have any more questions/suggestions, I will gladly run them by you. On Sun, Sep 21, 2014 at 6:36 PM, Mark H. Jones notifications@github.com
|
Hi again, I was wrong about $PATH because I was experimenting with a +script. I'm unable to launch scripts from dmenu-extended unless I +$NAME_OF_THE_SCRIPT. I feel like it would be a good plugin (to support listing either bash/zsh aliases/functions in a submenu)? Some of them are bound to be GUI-based. |
Lasers, you have given me much to think about - thank you for your input. |
Sorry. I still can't run the scripts inside my $PATH. I like this project. Rebuilding caches take time (too long for me) and I'm forced to either wait I also thought about avoiding submenu because it's not searchable unless δε: I'm listing them in this order.
As for dmenu to support aliases/functions, I don't know what to suggest other than to take a look at aur/dmenu-aliases. https://github.com/orschiro/orschiro-pkgbuilds/tree/master/dmenu-aliases You're welcome to shut down my suggestions/feature requests. |
Ill have a look into the $PATH issue again. Just to confirm, when you type
into a shell do you get the relevant paths (those in your home directory) listed? Also, have you pulled the latest version from git? There is a message that pops up when the cache has been rebuilt but it must not be triggering on your system - something else I will look into. The message says how many items are in the cache and by how much the size changed from the rebuild. I noticed it wasn't appearing on Ubuntu systems. I'll update here when I've sorted this. Your ordering is something I've played around with a bit in the past. The reason I sort by length is so that if I have the following items in my cache and I enter
and not
However I just tried this again with an alphabetically sorted cache and this doesn't seem to be a problem so perhaps when I made the decision to sort by length I was using a pre 4.5 version of dmenu where the built-in sorting is not as good. Either way changing the sort order is now a possibility so I will put some thought into how this might be defined in the configuration.
Good point. My personal preference is to keep the cache clean; tucking options away was a natural move. I also like it this way so that plugins will have their own menus and there is no way they may conflict with each other. However I'm a big fan of the way Sublime Text does things, especially the command palette which is laid out as you have suggested. Also it utilises the power of dmenu to locate where the relevant options are, removing the need to know where the items are. I guess to some extent I have shied away from allowing plugins to directly add items to the cache, instead leaving all plugin functionality inside the relevant menu. It may be time to add a way for plugins to modify the cache directly. Thanks for the link to dmenu-aliases, this should help. So, takeaway points for me are:
Aliases need to be implemented better. But what exactly should I do? My gut feeling is 5 (4+1). P.S. Thanks for posting your thoughts here by the way. It's good having someone to bounce ideas off. |
Hi Mark,
I was abusing dmenu-extended looking for my scripts to appear in the list when you said you added the feature. (I upgraded the package too). It's working quite fnow. I may have forgetten to either turn off the filter_binaries (and/or) rebuild caches. I'm not so sure anymore. I kept stuffs in ~/.local/bin.
I'm using this package. https://aur.archlinux.org/packages/dmenu-extended/ Yet More Suggestions.... The features on https://kien.github.io/ctrlp.vim expresses things (as well as possibitlies) for dmenu-extended quite well.
I looked into ~/.local/share (and it's for apps to interact with the data) and not the directory that the users might want to access often. Important data get saved there -- but not important enough to be crawled for on-off access/editing. Thoughts? https://askubuntu.com/questions/14535/whats-the-local-folder-for-in-my-home-directory Maybe I'm being riduclous with the filtering_common_folders option when I can turn off include_hidden_*. I think I am. I'm trying to supply you with nice features. Options to exclude glob directories and extensions sounds reasonable, but I'm not so sure about the this next one.
Thanks bleachbit for this. With filter_cache "true", it could parse through bleachbit's cleaner/*.xml to filter out the caches resulting in a nicer/minimal dmenu-extended experience... especially with hidden folder/files enabed. Definitely a plugin. http://sprunge.us/HPXK P.S. Check out deepscan.xml -- It covers .DS_Store, Thumbs, backups, et cetera.
I'll show you why I found it a problem to have lines sorted by length. I made three things I hope you like them! I enjoy testing stuffs. |
I've made some progress towards implementing most of what we've discussed in the last three posts. Quite a lot of changes are happening, especially to the preferences. These are sitting in the new_scanning branch. Feel free to test it and let me know what you think but be warned - there will be some rough edges. These are some of the options available:
The
and also with:
And I'm working towards being able to specify the location of an alias file in the preferences, which is what Your thoughts are welcome, even if you don't get a chance to test. |
Facing rough edges...
How do I forward from here? I looked at both (default) config and I noticed several changes so I'm asking you since I don't know what to merge. It might be something you need to work on? I can't test any other new features because I'm stumped above. I'll wait for your support / confirmation first. I also have a wishful feature request. To add an (+) indicator for manually added entries so I can differentiate between binaries + manually added entries. Added: I see I could do something like +input-command # input-same-command (with the power of alias indicator). It may or may not be quite the same thing -- but I can work with that by giving them names (instead of empty manually added entries). It would still be nice to have an indicator though. |
Sorry about that. It should generate the cache now. Aliases and manually included items are still not working but configuration of menu organisation is functional (try changing As for your feature request, I am considering merging manually added items and aliases together since they are essentially the same thing. I haven't thought that part through properly yet. Perhaps moving 'aliases' and 'manually added entry' functionality to plugins is a better idea, each having its own configuration. |
Hi. Do you IRC? I'll be in #dmenu on freenode for now.
I tried rearranging group_order (plugins, aliases, applications, binaries, files, folders, plugins). That didn't happen. Alpha did not work for me either. No problem reporting my findings. |
Hi again and thanks for testing. No I don't use IRC but may give it a try Mark
|
Archlinux. |
I discovered this gem today. I loved it. I wanted to know how I can add hidden directories / files to the indexing. That way, I can open the configuration files (with preferred/different editor) sometimes without using the terminal. Can we support this option? I do want the option to view/index the entire home directory if that's possible.
The text was updated successfully, but these errors were encountered: