picom.conf 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # lean renderer
  2. backend = "xrender";
  3. # vsync optimizations
  4. unredir-if-possible = true;
  5. # shadow optimizations
  6. shadow = true;
  7. dock = { shadow = false; };
  8. dnd = { shadow = false; };
  9. shadow-ignore-shaped = false;
  10. shadow-radius = 4;
  11. shadow-offset-x = -5;
  12. shadow-offset-y = -3;
  13. shadow-opacity = 0.5;
  14. shadow-exclude-reg = "x28+0-0"; # block shadows from overlapping the taskbar at the bottom of the screen
  15. shadow-exclude = [
  16. "! name~=''",
  17. "name = 'Notification'",
  18. "name *= 'picom'",
  19. "name *= 'mpv'",
  20. "class_g = 'conky'"
  21. ];
  22. # menu optimizations
  23. popup_menu = { opacity = 1; };
  24. dropdown_menu = { opacity = 1; };
  25. inactive-opacity = 1;
  26. active-opacity = 1;
  27. frame-opacity = 1;
  28. inactive-opacity-override = false;
  29. # avoid blur
  30. blur-background-fixed = false;
  31. blur-background-exclude = [
  32. "window_type = 'dock'",
  33. "window_type = 'desktop'"
  34. ];
  35. # fading disabled for responsive desktop
  36. fading = false;
  37. # window manager optimizations
  38. mark-wmwin-focused = true;
  39. mark-overdir-focused = true;
  40. use-ewmh-active-win = true;
  41. # window detection optimizations
  42. detect-rounded-corners = true;
  43. detect-transient = true;
  44. detect-client-opacity = true;
  45. detect-client-leader = true;
  46. # other behaviors
  47. wintypes = {
  48. tooltip = {
  49. fade = true;
  50. shadow = false;
  51. focus = true;
  52. }
  53. };