allusive-dev / compfy

A Compositor for X11 based on Picom. No Longer Maintained in favor of Picom v12!
201 stars 23 forks source link

setting workspace switch animation doesnt do anything #4

Closed thecodsman closed 11 months ago

thecodsman commented 11 months ago

setting animation-for-workspace-switch-in and animation-for-workspace-switch-out has no effect

here is my config file

corner-radius = 5
corner-radius-rules = "10:class_g *?= 'dmenu'"
rounded-corners-exclude = "class_g = 'dwm'";

shadow = true

animations = true
animation-for-open-window = "zoom"
animation-for-workspace-switch-in = "slide-down"
animation-for-workspace-switch-out = "slide-up"
fading = true
fade-in-step = 0.03
fade-out-step = 0.03

backend = "glx";
use-damage = false;

when I switch workspaces it still goes to the left

distro: artix linux (with runit) WM: dwm

allusive-dev commented 11 months ago

Yeah that's kinda how it works sorry. If you are switching between monitor workspaces it will simply move towards that monitor. The animation will only play when switching between virtual workspaces. So like if you have click able workspaces then it should do the set animation.

allusive-dev commented 11 months ago

As an example when switching between 2 work-spaces on xmonad on the same monitor not between my second one it plays the animation.

Thanks for posting and issue and let me know if you need anymore assistance.

thecodsman commented 11 months ago

Yeah that's kinda how it works sorry. If you are switching between monitor workspaces it will simply move towards that monitor. The animation will only play when switching between virtual workspaces. So like if you have click able workspaces then it should do the set animation.

no its not when I switch between my monitors, I think that animation looks good. When I switch between the workspaces of an individual monitor thats when I want it to play the animation I set and it doesnt it just plays the default animation @allusive-dev

allusive-dev commented 11 months ago

When trying this myself the animation dosen't seem to play 100% of the time. Is it playing at all for you?

thecodsman commented 11 months ago

it always plays the default animation (or atleast what I assume is the default) which is going to and from the left side of my screen

thecodsman commented 11 months ago

also I have tried other animation forks of picom and they all have the same problem so its probably something with my setup

allusive-dev commented 11 months ago

Yeah, I am sorry about that. I think the issue may like you said just be your WM/config.

thecodsman commented 11 months ago

@allusive-dev update: I was curious so I installed i3 and switching the workspace animation works so... I guess its just a dwm thing (im still using dwm because I dont like i3)

allusive-dev commented 11 months ago

@allusive-dev update: I was curious so I installed i3 and switching the workspace animation works so... I guess its just a dwm thing (im still using dwm because I dont like i3)

Hey, Thanks for letting me know.