Advertisement
dranvil

Compton.conf

Feb 22nd, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. backend = "glx";
  2. glx-no-stencil = true;
  3.  
  4. # Shadow
  5. shadow = true;
  6. no-dnd-shadow = true;
  7. no-dock-shadow = true;
  8. clear-shadow = true;
  9. detect-rounded-corners = true;
  10. shadow-radius = 5;
  11. shadow-offset-x = 1;
  12. shadow-offset-y = 1;
  13. shadow-opacity = .3;
  14. shadow-ignore-shaped = false;
  15. shadow-exclude = [
  16. "name = 'Notification'",
  17. # workaround for conky until it provides window properties:
  18. "override_redirect = 1 && !WM_CLASS@:s",
  19. "class_g ?= 'Dmenu'",
  20. # "class_g ?= 'Dunst'",
  21. # disable shadows for hidden windows:
  22. "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
  23. "_GTK_FRAME_EXTENTS@:c",
  24. # disables shadows on sticky windows:
  25. # "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
  26. # disables shadows on i3 frames
  27. "class_g ?= 'i3-frame'"
  28. ];
  29.  
  30. # shadow-exclude-reg = "x10+0+0";
  31. # xinerama-shadow-crop = true;
  32.  
  33. menu-opacity = 0.95;
  34. inactive-opacity = 0.93;
  35. active-opacity = 1;
  36. alpha-step = 0.06;
  37. frame-opacity = 1;
  38. inactive-opacity-override = false;
  39. #inactive-dim = 0.0;
  40. blur-background = true;
  41.  
  42. blur-method = "kawase";
  43. blur-kern = "3x3box";
  44. blur-strengh = 12;
  45. blur-background-fixed = false;
  46.  
  47. fading = false;
  48. fade-delta = 1;
  49. fade-in-step = 0.03;
  50. fade-out-step = 0.03;
  51. fade-exclude = [ ];
  52.  
  53. backend = "xrender";
  54. mark-wmwin-focused = true;
  55. mark-ovredir-focused = true;
  56. detect-client-opacity = true;
  57. unredir-if-possible = true;
  58. refresh-rate = 0;
  59. vsync = "none";
  60. dbe = false;
  61. paint-on-overlay = true;
  62. focus-exclude = [ "class_g = 'Cairo-clock'" ];
  63. detect-transient = true;
  64. detect-client-leader = true;
  65. invert-color-include = [ ];
  66. glx-copy-from-front = false;
  67. glx-swap-method = "undefined";
  68.  
  69. opacity-rule = [
  70. #"99:name *?= 'Call'",
  71. #"99:class_g = 'Chromium'",
  72. #"99:name *?= 'Conky'",
  73. #"99:class_g = 'Darktable'",
  74. #"50:class_g = 'Dmenu'",
  75. #"99:name *?= 'Event'",
  76. #"99:class_g = 'Firefox'",
  77. #"99:class_g = 'GIMP'",
  78. #"99:name *?= 'Image'",
  79. #"99:class_g = 'Lazpaint'",
  80. #"99:class_g = 'Midori'",
  81. #"99:name *?= 'Minitube'",
  82. #"99:class_g = 'Mousepad'",
  83. #"99:name *?= 'MuseScore'",
  84. #"90:name *?= 'Page Info'",
  85. #"99:name *?= 'Pale Moon'",
  86. #"90:name *?= 'Panel'",
  87. #"99:class_g = 'Pinta'",
  88. #"90:name *?= 'Restart'",
  89. #"99:name *?= 'sudo'",
  90. #"99:name *?= 'Screenshot'",
  91. #"99:class_g = 'Viewnior'",
  92. #"99:class_g = 'VirtualBox'",
  93. #"99:name *?= 'VLC'",
  94. #"99:name *?= 'Write'",
  95. "70:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
  96. "70:class_g = 'Code'",
  97. "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
  98. "96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
  99. ];
  100.  
  101. wintypes :
  102. {
  103. tooltip :
  104. {
  105. fade = true;
  106. shadow = false;
  107. opacity = 0.75;
  108. focus = true;
  109. };
  110. fullscreen :
  111. {
  112. fade = true;
  113. shadow = false;
  114. opacity = 0.8;
  115. focus = true;
  116. };
  117. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement