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

Feature request: Allow specifying an offset #83

Open
bodby opened this issue Feb 14, 2025 · 1 comment
Open

Feature request: Allow specifying an offset #83

bodby opened this issue Feb 14, 2025 · 1 comment

Comments

@bodby
Copy link

bodby commented Feb 14, 2025

This would be easier than cropping a wallpaper for different aspect resolutions/make it easier to center a part of the wallpaper.

I feel like this would work for all modes except for stretch and tile.

@mstoeckl
Copy link
Collaborator

mstoeckl commented Feb 15, 2025

I currently am not sure whether this would be a good thing to add. swaybg tends to be minimal† and there are a number of more-featured alternatives or wrapper programs to which a feature like this would be better suited. (Some are listed at https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway#wallpaper; I haven't looked into them all, but mpvpaper can be used draw static images with offset if you apply flags like -o "pause video-pan-x=0.5".).

† In part because, to maintain consistency between sway, swaybg, and swaylock's background configuration, any new options would eventually lead to modifications to all three, making features more expensive to maintain than one might expect...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants