Advertisement
Guest User

com

a guest
Jan 23rd, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. backend = "glx";
  2. glx-no-stencil = true;
  3. glx-copy-from-front = false;
  4. glx-swap-method = 1;
  5. blur-background = true;
  6. blur-method = "kawase";
  7. blur-strength = 8;
  8. blur-kern = "7x7box";
  9. inactive-opacity = 0.95;
  10. active-opacity = 1;
  11. inactive-opacity-override = true;
  12.  
  13. # Shadow
  14. shadow = true; # Enabled client-side shadows on windows.
  15. no-dock-shadow = false; # Avoid drawing shadows on dock/panel windows.
  16. no-dnd-shadow = false; # Don't draw shadows on DND windows.
  17. clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental).
  18. shadow-radius = 10; # The blur radius for shadows. (default 12)
  19. shadow-offset-x = -15; # The left offset for shadows. (default -15)
  20. shadow-offset-y = -15; # The top offset for shadows. (default -15)
  21. shadow-opacity = 0.5;
  22. menu-opacity = 1;
  23. shadow-exclude = [
  24. #"! name~=''",
  25. "n:e:Notification",
  26. "n:e:Dunst",
  27. "n:e:dzen",
  28. "name = 'dzen slave'",
  29. "name = 'gnome-screenshot'",
  30. #"n:e:Docky",
  31. #"g:e:Synapse",
  32. #"g:e:Kupfer",
  33. "g:e:Conky",
  34. #"n:w:Firefox",
  35. "n:w:*Chrome*",
  36. #"n:w:*Chromium*",
  37. "class_g ?= 'dzen'",
  38. "class_g ?= 'gnome-screenshot'",
  39. "class_g ?= 'polybar'"
  40. #"class_g ?= 'Cairo-dock'",
  41. #"class_g ?= 'Xfce4-notifyd'",
  42. #"class_g ?= 'Xfce4-power-manager'"
  43. ];
  44.  
  45. blur-background-exclude = [
  46. "name = 'gnome-screenshot'",
  47. "class_g ?= 'gnome-screenshot'",
  48. "name = 'polybar-top_eDP1'",
  49. "class_g ?= 'polybar'"
  50. ];
  51.  
  52. #opacity-rule = ["85:class_g = 'gnome-terminal'"];
  53. opacity-rule = [
  54. "50:class_g = 'Bspwm' && class_i = 'presel_feedback'",
  55. "75:class_g = 'URxvt'"
  56. ];
  57.  
  58. # 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
  59. # (most applications are fine, only apps that do weird things with xshapes or argb are affected).
  60. # 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.
  61.  
  62. # Fading
  63. fading = true; # Fade windows during opacity changes.
  64. fade-delta = 5; # The time between steps in a fade in milliseconds. (default 10).
  65. fade-in-step = 0.028; # Opacity change between steps while fading in. (default 0.028).
  66. fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
  67. #no-fading-openclose = true; # Fade windows in/out when opening/closing
  68.  
  69. detect-client-opacity = true; # This prevents opacity being ignored for some apps. For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
  70.  
  71. #Window type settings
  72. wintypes:
  73. {
  74. tooltip = { fade = true; shadow = false; };
  75. menu = { shadow = false; };
  76. dropdown_menu = { shadow = false; };
  77. popup_menu = { shadow = false; };
  78. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement