irenicus09

Compton Config [ Shadow + Dim ]

Sep 29th, 2015
482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. backend = "glx";
  2. vsync = "opengl-swc";
  3.  
  4. glx-copy-from-front = true;
  5. glx-swap-method = 2;
  6.  
  7. # Fading
  8. fading = true; # Fade windows during opacity changes.
  9. fade-delta = 30; # The time between steps in a fade in milliseconds. (default 10).
  10. fade-in-step = 0.05; # Opacity change between steps while fading in. (default 0.028).
  11. fade-out-step = 0.05; # Opacity change between steps while fading out. (default 0.03).
  12.  
  13. #################################
  14. #
  15. # Shadows
  16. #
  17. #################################
  18.  
  19. # Enabled client-side shadows on windows.
  20. shadow = true;
  21. # Don't draw shadows on DND windows.
  22. no-dnd-shadow = true;
  23. # Avoid drawing shadows on dock/panel windows.
  24. no-dock-shadow = true;
  25. # Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
  26. clear-shadow = true;
  27. # The blur radius for shadows. (default 12)
  28. shadow-radius = 12;
  29. # The left offset for shadows. (default -15)
  30. shadow-offset-x = -5;
  31. # The top offset for shadows. (default -15)
  32. shadow-offset-y = -5;
  33. # The translucency for shadows. (default .75)
  34. shadow-opacity = 0.5;
  35.  
  36. # Set if you want different colour shadows
  37. # shadow-red = 0.0;
  38. # shadow-green = 0.0;
  39. # shadow-blue = 0.0;
  40.  
  41. # The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
  42. # (most applications are fine, only apps that do weird things with xshapes or argb are affected).
  43. # This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
  44. shadow-exclude = [
  45. "! name~=''",
  46. "name = 'Notification'",
  47. "name = 'Plank'",
  48. "name = 'Docky'",
  49. "name = 'Kupfer'",
  50. "name = 'xfce4-notifyd'",
  51. "name *= 'VLC'",
  52. "name *= 'compton'",
  53. "name *= 'Chromium'",
  54. "name *= 'Chrome'",
  55. "name *= 'Firefox'",
  56. "class_g = 'Conky'",
  57. "class_g = 'Kupfer'",
  58. "class_g = 'Synapse'",
  59. "class_g ?= 'Notify-osd'",
  60. "class_g ?= 'Cairo-dock'",
  61. "class_g ?= 'Xfce4-notifyd'",
  62. "class_g ?= 'Xfce4-power-manager'"
  63. ];
  64. # Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
  65. shadow-ignore-shaped = false;
  66.  
  67. #################################
  68. #
  69. # Opacity
  70. #
  71. #################################
  72.  
  73. menu-opacity = 1;
  74. inactive-opacity = 1;
  75. active-opacity = 1;
  76. frame-opacity = 1;
  77. inactive-opacity-override = false;
  78. alpha-step = 0.06;
  79.  
  80. # Dim inactive windows. (0.0 - 1.0)
  81. inactive-dim = 0.2;
  82. # Do not let dimness adjust based on window opacity.
  83. inactive-dim-fixed = true;
  84. # Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
  85. # blur-background = true;
  86. # Blur background of opaque windows with transparent frames as well.
  87. #blur-background-frame = true;
  88. # Do not let blur radius adjust based on window opacity.
  89. #blur-background-fixed = false;
Advertisement
Add Comment
Please, Sign In to add comment