Skip to content

fix: expand tilde in hook commands for cross-platform support#290

Merged
InioX merged 1 commit into
InioX:mainfrom
haikalllp:fix/tildeUsageOnHooks
May 15, 2026
Merged

fix: expand tilde in hook commands for cross-platform support#290
InioX merged 1 commit into
InioX:mainfrom
haikalllp:fix/tildeUsageOnHooks

Conversation

@haikalllp

@haikalllp haikalllp commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

Adds tilde (~) expansion in format_hook so using ~/ or ~\ will go to the user's home in any os.

now can do this on any platform:

prehook = ~/.local/bin/scripts/pre-wallpaper.sh
posthook = python ~/.local/bin/scripts/myscripts.py

…cross platform support.

Windows actually supports ~ just needs ~\\ .
@InioX

InioX commented May 15, 2026

Copy link
Copy Markdown
Owner

Thanks a lot for the PR!

@InioX InioX merged commit 8114988 into InioX:main May 15, 2026
1 check passed
@InioX InioX mentioned this pull request May 15, 2026
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