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

Switch theme #includes from absolute paths to relative #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mfisher87
Copy link
Member

@mfisher87 mfisher87 commented May 5, 2023

Makes themes more portable!

#includes in Xresources configuration files are
C preprocessing directives, which first look in the same directory as the current file.

There are still a good number of Xresources config values here that are absolute paths, like the wallpaper path, so themes aren't fully portable with this change. To me this mainly improves the testing experience.

@kgilmer this is my (very) late follow up on this discussion.

Makes themes more portable!

`#include`s in Xresources configuration files are
[C preprocessing directives](https://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html),
which first look in the same directory as the current file.
@mfisher87 mfisher87 requested a review from kgilmer May 5, 2023 16:50
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.

1 participant