compton.conf 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # Shadow
  2. shadow = true;
  3. no-dnd-shadow = true;
  4. no-dock-shadow = true;
  5. clear-shadow = true;
  6. shadow-radius = 5;
  7. shadow-offset-x = -5;
  8. shadow-offset-y = -5;
  9. shadow-opacity = 0.7;
  10. # shadow-red = 0.0;
  11. # shadow-green = 0.0;
  12. # shadow-blue = 0.0;
  13. shadow-exclude = [
  14. "name = 'Notification'",
  15. "class_g = 'Conky'",
  16. "class_g ?= 'Notify-osd'",
  17. "class_g = 'Cairo-clock'",
  18. "_GTK_FRAME_EXTENTS@:c"
  19. ];
  20. # shadow-exclude = "n:e:Notification";
  21. # shadow-exclude-reg = "x10+0+0";
  22. # xinerama-shadow-crop = true;
  23. # Opacity
  24. menu-opacity = 0.85;
  25. inactive-opacity = 0.95;
  26. active-opacity = 1;
  27. frame-opacity = 0.1;
  28. inactive-opacity-override = false;
  29. alpha-step = 0.06;
  30. inactive-dim = 0.1;
  31. inactive-dim-fixed = true;
  32. #blur-background = true;
  33. #blur-background-frame = true;
  34. #blur-kern = "3x3box";
  35. #blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
  36. #blur-background-fixed = true;
  37. #blur-background-exclude = [
  38. # "window_type = 'dock'",
  39. # "window_type = 'desktop'",
  40. # "_GTK_FRAME_EXTENTS@:c"
  41. #];
  42. #opacity-rule = [
  43. # "90:class_g = 'kitty'",
  44. # "95:class_g = 'Firefox'"
  45. #];
  46. # Fading
  47. fading = true;
  48. fade-delta = 5;
  49. fade-in-step = 0.07;
  50. fade-out-step = 0.07;
  51. # no-fading-openclose = true;
  52. # no-fading-destroyed-argb = true;
  53. fade-exclude = [ ];
  54. # Other
  55. backend = "glx";
  56. mark-wmwin-focused = true;
  57. mark-ovredir-focused = true;
  58. # use-ewmh-active-win = true;
  59. detect-rounded-corners = true;
  60. detect-client-opacity = true;
  61. refresh-rate = 0;
  62. vsync = "none";
  63. dbe = false;
  64. paint-on-overlay = true;
  65. # sw-opti = true;
  66. # unredir-if-possible = true;
  67. # unredir-if-possible-delay = 5000;
  68. # unredir-if-possible-exclude = [ ];
  69. focus-exclude = [ "class_g = 'Cairo-clock'" ];
  70. detect-transient = true;
  71. detect-client-leader = true;
  72. invert-color-include = [ ];
  73. # resize-damage = 1;
  74. # GLX backend
  75. # glx-no-stencil = true;
  76. glx-copy-from-front = false;
  77. # glx-use-copysubbuffermesa = true;
  78. # glx-no-rebind-pixmap = true;
  79. glx-swap-method = "undefined";
  80. # glx-use-gpushader4 = true;
  81. # xrender-sync = true;
  82. # xrender-sync-fence = true;
  83. # Window type settings
  84. wintypes:
  85. {
  86. tooltip = { fade = true; shadow = true; opacity = 0.15; focus = true; };
  87. };