picom icon indicating copy to clipboard operation
picom copied to clipboard

[Feature Request] Sliding animations for workspace switches.

Open Animeshz opened this issue 3 years ago • 6 comments

Any implementation for top-bottom bottom-top or left-right right-left sliding transition animations for switching desktops/workspaces?

Animeshz avatar Jun 08 '21 04:06 Animeshz

I guess that's the task of the Window Manager?

I could be wrong, though.

subnut avatar Jun 08 '21 05:06 subnut

I had the same FR in one of the forks: https://github.com/jonaburg/picom/issues/31. Some are interested, but nobody seems to have actually implemented anything. There might be useful information in that issue, tho.

Edit: that fork had implemented animation, that's why I requested there instead of in this upstream repo.

xlucn avatar Jul 25 '21 03:07 xlucn

Hi Guys, this works now in my fork here: https://github.com/pijulius/picom/commit/b92d4105ea8cc31a22fec64c5241b867b9f92632

but you need to have a window manager that sets the _NET_CURRENT_DESKTOP before hiding/showing the windows as I haven't found a better way to detect workspace switching from picom itself.

Have made the necessary change for Fluxbox and with that change it seems to be working just exactly as I wanted, windows sliding out on the top and sliding in from the bottom.

pijulius avatar Oct 17 '21 11:10 pijulius

@pijulius any chance you'll (send a PR and) merge it to the upstream? I see too many fork and hard to work with each one for different features :p its definitely like DWM (building everything by patching the upstream).

Animeshz avatar Oct 17 '21 11:10 Animeshz

There is a pull request already here https://github.com/dccsillag/picom/pull/22

but it's up to Daniel to accept the changes and then it will be up to the moderators here to accept it to picom. Unfortunately don't see much chance for that at the moment as still a lot of these things are in very early state, haven't been tested in all situations so even if it gets into the original picom it will be under a testing branch of some sort I imagine.

pijulius avatar Oct 17 '21 13:10 pijulius

Hyprland has this if you can run Wayland well and don't mind Waylands missing features only reason I don't use it is NVIDIA

nonetrix avatar Jul 24 '22 03:07 nonetrix

I made some experiments based on the FTLabs branch, trying to keep it generic and up-to-date (but only tested on qtile)...

https://github.com/fdev31/picom

I'm still testing the sliding animation, once I don't see anything I can fix I'll clean up the code and make it optional. Other animations are mostly from FTLabs but I reworked it to be simpler & I believe a bit more generic.

fdev31 avatar Mar 07 '23 21:03 fdev31

closing as duplicate of #1121.

absolutelynothelix avatar Sep 02 '23 12:09 absolutelynothelix