compton.conf 1.3 KB

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