dccsillag / picom

A lightweight compositor for X11
Other
164 stars 20 forks source link

Different animations for specific windows #55

Open universeindex opened 1 year ago

universeindex commented 1 year ago

I'm working on a Picom config for my LeftWM rice, and I realized that Rofi (which mimics dmenu) looks a bit odd with the zoom animations. Is there a way I can change the animations for specific windows based on their class or title?

Platform

Artix Linux x86_64 openrc

Environment

picom version

vgit-51b21

Diagnostics **Version:** vgit-51b21 ### Extensions: * Shape: Yes * XRandR: Yes * Present: Present ### Misc: * Use Overlay: No (Another compositor is already running) * Config file used: /home/universe/.config/picom/picom.conf ### Drivers (inaccurate): AMDGPU, Radeon ### Backend: glx * Driver vendors: * GLX: Mesa Project and SGI * GL: AMD * GL renderer: AMD Radeon RX 6600 (navi23, LLVM 15.0.7, DRM 3.49, 6.1.12-artix1-1) * Accelerated: 1

Configuration:

Configuration file ``` animations = true; animation-stiffness = 300; animation-dampening = 32.0; animation-clamping = true; animation-mass = 1; animation-for-open-window = "zoom"; animation-for-menu-window = "slide-down"; animation-for-transient-window = "slide-down"; ```