您尚未登录。

#1 2024-10-11 15:35:24

zzyhao0w0
会员
注册时间: 2024-10-08
帖子: 10

关于picom的设置方案

看了picom的官网配置文档,我想我有点看懂了,但是还是有一点不是很懂,有没有可能做到单独控制动画的作用对象,就像wintypes一样:)

wintypes : 
{
  tooltip : 
  {
    fade = true;
    shadow = true;
    opacity = 0.75;
    focus = true;
    full-shadow = false;
  };
  dock : 
  {
    shadow = false;
    clip-shadow-above = true;
  };
  dnd : 
  {
    shadow = false;
  };
  popup_menu : 
  {
    # opacity = 0.8;
    blur-background = false
  };
  dropdown_menu : 
  {
    # opacity = 0.8;
  };
};
animations = ({
    triggers = [ "geometry" ];
    preset = "geometry-change";
    duration = 0.1;
  }, 
  {
    triggers = [ "close", "hide" ];
    preset = "fly-out";
    direction = "up";
    duration = 0.5;
  }, 
  {
    triggers = [ "open", "show" ];
    preset = "fly-in";
    direction = "down";
    duration = 0.5;
  });

离线

页脚