Add DPI as user-configurable property #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
gtheme lacks a consistent DPI handling strategy. Applications like Polybar use hardcoded DPI values independent of system configuration, causing mismatched scaling across desktop components.
Changes
Section::validate_dpi) that accepts integers 48-384user_settings.tomlasdpi = '<value>'Usage
Templates can now inject user's configured DPI:
The placeholder syntax
<[dpi|96]>uses the user's value or defaults to 96 if not configured.Scope
This PR provides the property infrastructure. Desktop template patterns in
gtheme-desktopsrepository can now be updated to use<[dpi|96]>instead of hardcoded values.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
github.com (HTTP Only)/usr/bin/ssh /usr/bin/ssh -o SendEnv=GIT_PROTOCOL git@github.com git-upload-pack 'daavidrgz/gtheme-desktops.git'(packet block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.