Advertisement
Guest User

compton.conf for Openbox

a guest
Dec 13th, 2014
849
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. # Shadow
  2. # Enable client-side shadows on windows.
  3. shadow = true;
  4. # Avoid drawing shadows on dock/panel windows.
  5. no-dock-shadow = true;
  6. # Don't draw shadows on DND windows.
  7. no-dnd-shadow = false;
  8. # Zero the part of the shadow's mask behind
  9. # the window (experimental).
  10. clear-shadow = true;
  11. # The blur radius for shadows. (default 12)
  12. shadow-radius = 7;
  13. # The left offset for shadows. (default -15)
  14. shadow-offset-x = -11;
  15. # The top offset for shadows. (default -15)
  16. shadow-offset-y = -8;
  17. # The translucency for shadows. (default .75)
  18. shadow-opacity = 0.5;
  19.  
  20. # The shadow exclude options are helpful if you
  21. # have shadows enabled. Due to the way compton
  22. # draws its shadows, certain applications will
  23. # have visual glitches (most applications are
  24. # fine, only apps that do weird things with
  25. # xshapes or argb are affected).
  26. # This list includes all the affected apps I
  27. # found in my testing. The "! name~=''" part
  28. # excludes shadows on any "Unknown" windows,
  29. # this prevents a visual glitch with the XFWM
  30. # alt tab switcher (also prevents shadows on
  31. # Openbox menu, so I commented it out).
  32.  
  33. shadow-exclude = [
  34. # "! name~=''",
  35. "name = 'Notification'",
  36. "name = 'Plank'",
  37. "name = 'Docky'",
  38. "name *= 'Firefox'",
  39. "name *= 'VLC'",
  40. "name *= 'Chrome'",
  41. "name *= 'Chromium'",
  42. "class_g = 'Conky'",
  43. "class_g = 'Kupfer'",
  44. "class_g = 'Synapse'",
  45. "class_g ?= 'Notify-osd'",
  46. "class_g ?= 'Cairo-dock'",
  47. "class_g ?= 'Xfce4-notifyd'",
  48. "class_g ?= 'Xfce4-power-manager'"
  49. ];
  50.  
  51. # Opacity
  52. # The opacity for menus. (default 1.0)
  53. menu-opacity = 0.94;
  54. # Default opacity of inactive windows.
  55. # (0.0 - 1.0)
  56. inactive-opacity = 0.6;
  57. # Exclude applications from opacity.
  58. focus-exclude = [
  59. "name *= 'mplayer2'",
  60. "name *= 'VLC'",
  61. "class_g = 'XScreenSaver'"
  62. ];
  63.  
  64. # XRender backend: Step size for alpha pictures.
  65. # Increasing it may result in less X resource
  66. # usage, though some of your effects may become
  67. # disabled.
  68. alpha-step = 0.04;
  69.  
  70. # This prevents opacity being ignored for some
  71. # apps. For example without this enabled
  72. # xfce4-notifyd is 100% opacity no matter what.
  73. detect-client-opacity = true;
  74.  
  75. # Keeps Openbox OSD focused.
  76. mark-ovredir-focused = true;
  77.  
  78. # Limit Compton to repaint at most once every
  79. # 1 /refresh_rate second to boost performance.
  80. # Incompatible with certain VSync methods.
  81. sw-opti = true;
  82.  
  83. # Unredirect all windows if a full-screen
  84. # opaque window is detected, to maximize
  85. # performance for full-screen windows.
  86. # This option prevented my Openbox desktop from
  87. # loading when put in my autostart file, so I
  88. # commented it out.
  89. #unredir-if-possible = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement