MarkHedleyJones/dmenu-extended

Question: How do I exclude all directories from dmenu?

fromtheeast710 opened this issue · 6 comments

I have tried
"exclude_items": ["/*"],
"global_ignore_folders": ["/*"],
"ignore_folders": ["/*"],
but that doesn't seem to work

Nevermind, that worked.

Glad you found the solution.
Was the issue that you hadn't rebuilt the cache after changing the settings?

I did rebuild the cache, the problem was that I set "alias_applications" to false, which I later changed back to true.

Okay, well I'm glad you got it working in the end.

Another question since you are here: Is there a way to change how programs are displayed without using the config file? For example "mpv --player-operation-mode=pseudo-gui --" is displayed as mpv Media Player but I only want it to be MPV. Where does dmenu-extended get that name from?

The names are extracted from the .desktop file for the relevant application.
For example, here's one for Arduino:

[Desktop Entry]
Type=Application
Name=Arduino IDE
GenericName=Arduino IDE
Comment=Open-source electronics prototyping platform
Exec="/home/mark/Downloads/arduino-1.8.19-linux64/arduino-1.8.19/arduino"
Icon=arduino-arduinoide
Terminal=false
Categories=Development;IDE;Electronics;
MimeType=text/x-arduino;
Keywords=embedded electronics;electronics;avr;microcontroller;
StartupWMClass=processing-app-Base