literate-dotfiles/compositor.org

1.8 KiB

Picom (Compositor)

Shadow

  shadow = true;
  shadow-radius = 12;
  shadow-offset-x = -12;
  shadow-offset-y = -12;
  shadow-exclude = [
  "name = 'Notification'",
  "window_type = 'dock'",
  "window_type = 'dnd'",
  "class_g = 'VirtualBox'",
  "class_g ?= 'Notify-osd'",
  "name = 'cpt_frame_window'", # For zoom problem when sharing screen
  "class_g = 'stalonetray'"
  ];

Opacity

  inactive-opacity = 1.0;
  frame-opacity = 1.0;
  inactive-opacity-override = false;

Fading

  fading = false;
  fade-in-step = 0.03;
  fade-out-step = 0.03;

Other

  backend = "xrender";
  mark-wmwin-focused = true;
  mark-ovredir-focused = true;
  detect-rounded-corners = true;
  detect-client-opacity = true;
  refresh-rate = 0;

Window Type Setting

  wintypes:
  {
  tooltip = { fade = true; shadow = true; focus = true; full-shadow = false; };
  dock = { shadow = false; }
  dnd = { shadow = false; }
  };