dccsillag / picom

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

How i can exclude the animations ? #38

Open gh0stzk opened 2 years ago

gh0stzk commented 2 years ago

Platform

Arch

Environment

Bspwm with polybar

Hello i try to exclude dropdown popup, popup, and some other from animations, but i cant make it works i try with this code;

animations: true;
animation-stiffness = 200
animation-window-mass = 0.4
animation-dampening = 20
animation-clamping = false
animation-for-open-window = "zoom"; #open window
animation-for-unmap-window = "zoom"; #minimize window
animation-for-workspace-switch-in = "slide-down"; #the windows in the workspace that is coming in
animation-for-workspace-switch-out = "zoom"; #the windows in the workspace that are coming out
animation-for-transient-window = "none"; #popup windows

animation-exclude = [
  "name = 'Notification'",
  "window_type = 'dropdown_menu'",
  "window_type = 'popup_menu'",
  "window_type = 'popup'",
  "window_type = 'dialog'",
  "window_type = 'tooltip'",
  "window_type = 'dock'",
  "window_type = 'menu'",
  "window_type = 'toolbar'",
  "class_g = 'Conky'",
  "class_g ?= 'Notify-osd'",
  "class_g = 'Cairo-clock'",
  "class_g = 'slop'",
  "class_g = 'Polybar'",
  "class_g = 'Retroarch'",
  "class_g = 'Rofi'",
  "_GTK_FRAME_EXTENTS@:c"
];

but that doesnt work.

atagen commented 2 years ago

pull request here will fix it, you can use that fork until it's merged

arionrefat commented 2 years ago

not related!

is there any other options other than these

animations: true; animation-stiffness = 200 animation-window-mass = 0.4 animation-dampening = 20 animation-clamping = false animation-for-open-window = "zoom"; #open window animation-for-unmap-window = "zoom"; #minimize window animation-for-workspace-switch-in = "slide-down"; #the windows in the workspace that is coming in animation-for-workspace-switch-out = "zoom"; #the windows in the workspace that are coming out animation-for-transient-window = "none"; #popup windows

D3SK3R commented 2 years ago

not related!

is there any other options other than these

animations: true; animation-stiffness = 200 animation-window-mass = 0.4 animation-dampening = 20 animation-clamping = false animation-for-open-window = "zoom"; #open window animation-for-unmap-window = "zoom"; #minimize window animation-for-workspace-switch-in = "slide-down"; #the windows in the workspace that is coming in animation-for-workspace-switch-out = "zoom"; #the windows in the workspace that are coming out animation-for-transient-window = "none"; #popup windows

Nop, and actually as I see, not all these "animation-for-..." work, only open-window and transient-window. I thought it was something with my window manager, but there's only these 2 inside the config.h

arionrefat commented 2 years ago

I thought the same, thank you for your response