-
-
Notifications
You must be signed in to change notification settings - Fork 300
wpaperd: fix image scaling modes #710
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
wpaperd: fix image scaling modes #710
Conversation
321d5f6 to
2828cfb
Compare
2828cfb to
e618356
Compare
trueNAHO
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you git rebase master and make sure the CI is passing? You can test the formatters and linters locally with nix build .#checks.x86_64-linux.git-hooks.
e618356 to
a149d2f
Compare
|
@trueNAHO could you take a look again? |
trueNAHO
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Sorry for the delay.
|
Thanks! |
Previously, the fill image scaling mode in wpaperd was mapped to its fit mode, which scales the image to fit within the screen without cropping. The behavior is now updated to use wpaperd's center mode instead, aligning more closely with swaybg's fill mode. [1] [1]: https://github.com/danyspin97/wpaperd/blob/b0b7e66fd32dca36c431a174784a2e87af7edb77/README.md#wallpaper-configuration Link: nix-community#710 Reviewed-by: NAHO <[email protected]>
Previously, the
fillimage scaling mode would usefitin wpaperd, which scales the image to fit within the screen without cropping it. This PR uses wpaperd'scentermode instead which is closer to swaybg'sfillmode (scales the image to fill the screen, potentially cropping).See https://github.com/danyspin97/wpaperd#wallpaper-configuration