Add flatpak functionality for spmenu_desktop #33

Merged
speedie merged 2 commits from Lucas-mother3/spmenu:master into master 2023-09-09 14:20:29 +02:00
Contributor

Basically the pull request adds 2 things:

  • Change $DESKTOP_DIR to add variables on $XDG_DATA_DIRS
  • Replace find "${desktopdir[@]}" -type f -name '*.desktop' to find -L "${desktopdir[@]}" -type f -name '*.desktop' on spmenu_desktop as the desktop entries on $HOME/local/share/flatpak/exports/share/applications and /var/lib/flatpak/exports/share/applications are symbolic links to /var/lib/flatpak/app/<flatpak package name./current/active/export/share/applications, find -L also outputs other hard or symbolic links.
Basically the pull request adds 2 things: - Change `$DESKTOP_DIR` to add variables on `$XDG_DATA_DIRS` - Replace `find "${desktopdir[@]}" -type f -name '*.desktop'` to `find -L "${desktopdir[@]}" -type f -name '*.desktop'` on `spmenu_desktop` as the desktop entries on `$HOME/local/share/flatpak/exports/share/applications` and `/var/lib/flatpak/exports/share/applications` are symbolic links to `/var/lib/flatpak/app/<flatpak package name./current/active/export/share/applications`, `find -L` also outputs other hard or symbolic links.
Lucas-mother3 added 2 commits 2023-09-09 14:14:11 +02:00
Owner

Thanks for the work on Flatpak support! Merging.

Thanks for the work on Flatpak support! Merging.
speedie merged commit 9aafc0369e into master 2023-09-09 14:20:29 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: speedie/spmenu#33
No description provided.