Skip to content

Conversation

@fractalbeauty
Copy link
Contributor

Previously, the fill image scaling mode would use fit in wpaperd, which scales the image to fit within the screen without cropping it. This PR uses wpaperd's center mode instead which is closer to swaybg's fill mode (scales the image to fill the screen, potentially cropping).

See https://github.com/danyspin97/wpaperd#wallpaper-configuration

@fractalbeauty fractalbeauty force-pushed the imagescalingmode-wpaperd branch from 321d5f6 to 2828cfb Compare January 2, 2025 19:11
@fractalbeauty fractalbeauty force-pushed the imagescalingmode-wpaperd branch from 2828cfb to e618356 Compare January 3, 2025 19:41
Copy link
Member

@trueNAHO trueNAHO left a 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.

@fractalbeauty fractalbeauty force-pushed the imagescalingmode-wpaperd branch from e618356 to a149d2f Compare January 7, 2025 20:36
@fractalbeauty fractalbeauty requested a review from trueNAHO January 7, 2025 20:45
@fractalbeauty
Copy link
Contributor Author

@trueNAHO could you take a look again?

Copy link
Member

@trueNAHO trueNAHO left a 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.

@trueNAHO trueNAHO merged commit e00ed7e into nix-community:master Jan 18, 2025
45 checks passed
@fractalbeauty
Copy link
Contributor Author

Thanks!

fractalbeauty added a commit to fractalbeauty/stylix that referenced this pull request Mar 10, 2025
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]>
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