r/archlinux • • 26d ago

QUESTION Wofi alternatives

i like the way wofi looks, but i don't like the behavior where it grabs from /usr/share/applications, are there any alternatives that are as customizable as wofi?

4 Upvotes

17 comments sorted by

9

u/_mwarner 26d ago

Where else do you want it to grab from? Pretty sure that location works by default with most similar apps.

1

u/bridgebucket 26d ago

its a good default, but id just rather be able to blacklist that directory from being parsed. im putting all the desktop files i want to see in ~/.local/share/applications

7

u/nikongod 26d ago

You just need to copy the file to ~/.local/share/applications add the line "NoDisplay=true"

Depending exactly what you are trying to achieve you may also like the line "NotShowIn=GNOME" (or whatever)

Assuming you have the correct permissions, you can also make these changes to the files in /usr/share/applications, but it is considered poor form.

2

u/chikamakaleyley 26d ago

i'm pretty sure that's not the only path it looks in; but am i missing something - is there something inherently wrong with that?

0

u/bridgebucket 26d ago

not inherently, but personally some apps ill never open like to put their .desktop files there

2

u/chikamakaleyley 26d ago

i think you can modify their .desktop config to be excluded

1

u/bridgebucket 26d ago

how do i do that, and will that change be reverted when updates happen?

3

u/grem75 26d ago

Put the modified ones in ~/.local, it will override the packaged ones.

1

u/chikamakaleyley 26d ago

yeah this is prob it - the folder is prioritized (i think) over /usr/share*

2

u/Linguistic-mystic 26d ago

Yup, that’s how I do it. Here’s how to hide them:

[Desktop Entry]
NoDisplay=true

in ~/.local/share/applications

1

u/chikamakaleyley 26d ago

You'll have to google it, something like 'how do i exclude .desktop from wofi display'

the setting is something simple like NoFoobar = true (don't use that). Having this set within the .desktop file itself is prob the right move because any other app launcher likely just sources the same folders by default

5

u/Chester-Berkeley 26d ago

maybe fuzzel?

2

u/PinguinPlayz 26d ago

rofi? wofi iirc is a fork of rofi

2

u/Apoema 25d ago

You can probably tweak the folder location by defining XDG_DATA_HOME, i would set a keybind such as: "XDG_DATA_HOME=path/to/applications wofi".

1

u/2eanimation 26d ago

Look up wofi dmenu mode. Wofi can list whatever you want. E.g. someone built an emoji picker on top of wofi, called Wofimoji.

1

u/Objective-Stranger99 26d ago

Have you tried anyrun?

1

u/archover 25d ago edited 25d ago

If on hyprland, you might get more responses on r/hyprland. Similar, for r/i3wm. Which you use you don't say. Ordinary, I could find out what you use from your post history, but it's hidden.

If you found your answer, please flair SUPPORT and then SOLVED.

Good day