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: Scrolling/sliding wallpaper #104

Open
auctumnus opened this issue Mar 19, 2023 · 5 comments
Open

Feature request: Scrolling/sliding wallpaper #104

auctumnus opened this issue Mar 19, 2023 · 5 comments

Comments

@auctumnus
Copy link

auctumnus commented Mar 19, 2023

In a window manager with workspaces, it would be nice to have a sliding/scrolling effect when moving between workspaces, similar to moving between pages of the home screen on iOS or Android.

At the moment, I don't think this achievable with any of the transitions currently implemented, and I'm not sure how the API for a transition like this would work. The nicest API, in my opinion, might look like swww slide 0.1 left - a slide subcommand which takes a float percentage of the screen and a direction, which should move the image (assuming it's larger than the output).

(Although, it would be nice for it to inherit some of the transition options like --step, --duration, --fps, etc)

@flick0
Copy link
Contributor

flick0 commented Mar 20, 2023

this is possible with scripting, you hv the transition left or right run when workspace changes, and tweak the bezier so it looks natural

@auctumnus
Copy link
Author

auctumnus commented Mar 23, 2023

got around to trying this, but there's a delay between pressing the key and the wallpaper changing; is this a problem of my computer simply not reading the file fast enough, or is there a way to reduce the delay?

this is with running a command like swww img background-2.png --transition-type right --transition-duration 0.01 --transition-bezier 0,.68,1,.61

@LGFae
Copy link
Owner

LGFae commented Mar 24, 2023

Is your image already at the correct scale? That's the only thing that should take a while.

@auctumnus
Copy link
Author

It's already at the size of my display, and I'm not using any --filter options (although I did also just try it with --filter Nearest and it had no effect)

@LGFae
Copy link
Owner

LGFae commented Mar 27, 2023

Hm. In that case, I am not sure there's anything we can do. It might improve if I come up with a faster way of sending stuff through the socket, but I wouldn't count on it.

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

No branches or pull requests

3 participants