Skip to content

Conversation

@sand4rt
Copy link
Contributor

@sand4rt sand4rt commented Aug 30, 2025

when git-dev-open is installed in ~/.local/bin, the .desktop file can reference the binary name directly. This avoids embedding user-specific home directory paths in dotfiles or repos

when `git-dev-open` is installed in `~/.local/bin`, the `.desktop` file can reference the binary name directly. This avoids embedding user-specific home directory paths in dotfiles or repos
Copy link
Owner

@moyiz moyiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting a PR.
I like the idea overall, but notice that it is not guaranteed that ~/.local/bin is actually in the user's PATH.
This feature can be generalized, i.e check whether the directory containing the script is in PATH, then update the desktop entry accordingly.

@sand4rt sand4rt requested a review from moyiz September 4, 2025 16:07
@moyiz moyiz merged commit 1084d79 into moyiz:master Sep 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants