hyprutils / hyprlauncher

GUI for launching applications, written in blazingly fast Rust! 🚀🦀
GNU General Public License v2.0
43 stars 2 forks source link

XDG_DATA_DIRS and PATH removed? #53

Closed arminius-smh closed 7 hours ago

arminius-smh commented 8 hours ago

Hello, on v.0.1.3 hyprlauncher used to scan the 'XDG_DATA_DIRS' and 'PATH' variable however v0.1.4 with commit https://github.com/hyprutils/hyprlauncher/commit/004c5f8dc76c1b96e3951e7153fb365f5bd89b0f removed both of these options, I guess it is your decision if the whole PATH should be included or only applications that have desktop files, but it would be nice if 'XDG_DATA_DIRS' could be included again since right now almost no applications gets shown on nixos/systems that dont follow the hardcoded paths

0.1.3 ![2024-11-14_16-09-15_screenshot](https://github.com/user-attachments/assets/bd9a27f8-811d-4b05-afbf-dc7bed8efc02)
0.1.4 ![2024-11-14_16-08-18_screenshot](https://github.com/user-attachments/assets/3e0bea50-be40-4e0f-bbe1-248c53044dc3)
nnyyxxxx commented 7 hours ago

oh sorry, i don't use NixOS.

Will do a following release after adding it back, as i was planning to with the merge of https://github.com/hyprutils/hyprlauncher/pull/54

I will make a commit to fix this in a bit, it would be great if you could build from source and test it.

Launching from /usr/bin requires full binary name and / or /usr/bin/binary, this was done to mimic other launchers and improve performance.

nnyyxxxx commented 7 hours ago

https://github.com/hyprutils/hyprlauncher/commit/ff6e7f47d408fcb7c45761dd21fa28434676e78f

nnyyxxxx commented 7 hours ago

lmk if that commit fixes your problem, I will make a release after

arminius-smh commented 7 hours ago

Thanks a lot, this fixed it 👍

2024-11-14_16-24-54_screenshot