rokosun-patch-1
main
Automatically find out all other_applications_dirs by looking at the $XDG_DATA_DIRS environment variable. Also fix bug by declaring variables separately.
Changed a lot of things but mostly to make the code easy to read and understand.