I have an edited copy of firefox.desktop file in my
~.local/share/applications directory. And I see 2 copies of "Mozilla Firefox" in the
wofi --show drun list. If I remove this copied .desktop, I see only one of them. It shouldn't work like that, I think.
Make sure it's got the same exact file name as the system version, also make sure that the system desktop file isn't in your cache
~/.cache/wofi-drunbecause that'll cause it to show up even if it otherwise shouldn't.
Ah, removing cache file fixed the problem. Is there some cache invalidation mechanism?
Not currently and even if when I do add one it'd be based on file existence and in this instance that wouldn't be triggered.