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

wpaperd: fix image scaling modes #710

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

Conversation

hazelmeow
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

modules/wpaperd/hm.nix Outdated Show resolved Hide resolved
@hazelmeow hazelmeow force-pushed the imagescalingmode-wpaperd branch from 321d5f6 to 2828cfb Compare January 2, 2025 19:11
modules/wpaperd/hm.nix Outdated Show resolved Hide resolved
@hazelmeow hazelmeow force-pushed the imagescalingmode-wpaperd branch from 2828cfb to e618356 Compare January 3, 2025 19:41
Copy link
Collaborator

@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.

@hazelmeow hazelmeow force-pushed the imagescalingmode-wpaperd branch from e618356 to a149d2f Compare January 7, 2025 20:36
@hazelmeow hazelmeow requested a review from trueNAHO January 7, 2025 20:45
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