yshui / picom

A lightweight compositor for X11 with animation support
https://picom.app/
Other
4.04k stars 581 forks source link

Picom not applying to polybar windows #450

Open pradyungn opened 4 years ago

pradyungn commented 4 years ago

Here's my picom config. I don't have any shadow related settings set in my polybar or bspwm configs, so i'm not sure why picom isn't compositing a shadow onto my polybar instances?

# Shadow
shadow = true;
no-dnd-shadow = false;
no-dock-shadow = false;
clear-shadow = true;
detect-rounded-corners = true;
shadow-radius = 0;
shadow-offset-x = 5;
shadow-offset-y = 5;
shadow-opacity = .4;
shadow-ignore-shaped = false;
shadow-exclude = [
    "name = 'Notification'", 
];

opacity-rule = [ "63:class_g = 'Bspwm' && class_i = 'presel_feedback'" ];

backend = "glx";

wintypes : 
{
  tooltip : 
  {
    fade = true;
    shadow = false;
    opacity = 0.85;
    focus = true;
  };
  fullscreen : 
  {
    fade = true;
    shadow = false;
    opacity = 1;
    focus = true;
  };
};
absolutelynothelix commented 4 years ago

remove no-dock-shadow option from your configuration file, it's the cause of your issue and, furthermore, it's deprecated. i'd also recommend removing no-dnd-shadow and clear-shadow options from your configuration file as well as they're both deprecated.