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

Refactor image generation for easier configuration #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FG-TUM
Copy link

@FG-TUM FG-TUM commented Apr 21, 2022

Description

On a system with multiple screens the wallpaper was still generated with the resolution of only one of the screens. E.g. For three 1920x1080 screens the wallpaper had a resolution of 1920x1080 instead of 5760x1080. Changing the config.yaml didn't help. This PR fixes this issue.

Also the generation of the intermediate image was removed as it is not necessary.

Changes

  • Prefer config over system information.
  • Only generate one image and use WordCloud's API to account for the margin.

Additional Information

Maybe it would be nice to expose more config parameters of WordCloud via the config.yaml.

    - Prefer config over system information. This fixes multi screen
    issues.
    - Only generate one image and use WordCloud's API to account for the
    margin.
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