Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid hardcoded xdg-open path and resolve incoming paths #1531

Merged
merged 2 commits into from
Nov 16, 2024

Conversation

fidgetingbits
Copy link
Collaborator

This fixes using xdg-open while on nixos and also resolves paths passed in, so if someone uses ~/ or similar in their path it'll work.

core/edit_text_file.py Outdated Show resolved Hide resolved
@fidgetingbits
Copy link
Collaborator Author

Switched to catching xdg-open not being found and notifying, rather than calling which every time per aegis suggestion.

@knausj85 knausj85 merged commit 4c0b2ba into talonhub:main Nov 16, 2024
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.

5 participants