daily pastebin goal
73%
SHARE
TWEET

i3 + Compton

msx May 8th, 2015 8,936 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Compton
  2. # seq 0 3 | xargs -l1 -I@ compton -b -d :0.@  # Multihead support
  3. #exec --no-startup-id "compton -b"
  4. exec --no-startup-id compton --opacity-rule '100:window_type = "dock" && class_g = "i3bar"' --config ~/.config/compton.conf -b
  5.  
  6.  
  7. // Compton's config
  8. # Config wireframe stolen from here: https://github.com/nim-/dotfiles/blob/master/.config/compton.conf
  9.  
  10. # Shadow
  11. shadow = true;                  # Enabled client-side shadows on windows.
  12. no-dock-shadow = false;         # Avoid drawing shadows on dock/panel windows.
  13. no-dnd-shadow = true;           # Don't draw shadows on DND windows.
  14. clear-shadow = true;            # Zero the part of the shadow's mask behind the window (experimental).
  15. shadow-radius = 12;             # The blur radius for shadows. (default 12)
  16. shadow-offset-x = -15;          # The left offset for shadows. (default -15)
  17. shadow-offset-y = -15;          # The top offset for shadows. (default -15)
  18. #shadow-red = 0.0;              # Red color value of shadow. (0.0 - 1.0, defaults to 0)
  19. #shadow-green = 0.0;            # Green color value of shadow. (0.0 - 1.0, defaults to 0)
  20. #shadow-blue = 0.0;             # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
  21.  
  22. # Exclude conditions for shadows.
  23. # Fix dual shadow on some gtk3 powered applications: "_GTK_FRAME_EXTENTS@:c"
  24. shadow-exclude = [
  25.                "n:e:Notification",
  26.                "class_g = 'Gnome-screenshot'",
  27.                "class_g = 'Gnome-control-center'",
  28.                "class_g = 'Nautilus'"
  29.                ];
  30.                #"_GTK_FRAME_EXTENTS@:c"
  31.                
  32.  
  33. shadow-ignore-shaped = false;   # Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
  34.  
  35. # Opacity
  36. shadow-opacity = 0.7;                   # The translucency for shadows. (default .75)
  37. active-opacity = 1.0;
  38. menu-opacity = 1.0;                     # The opacity for menus. (default 1.0)
  39. #frame-opacity = 0.8;                   # Opacity of window titlebars and borders. (0.1 - 1.0)
  40. #inactive-opacity = 0.9;                # Opacity of inactive windows. (0.1 - 1.0)
  41. #inactive-opacity-override = true;      # Inactive opacity set by 'inactive-opacity' overrides value of _NET_WM_OPACITY.
  42.  
  43. #alpha-step = 0.06;             # XRender backend: Step size for alpha pictures. Increasing it may result in less X resource usage, yYet fading may look bad.
  44. # inactive-dim = 0.2;                   # Dim inactive windows. (0.0 - 1.0)
  45. # inactive-dim-fixed = true;            # Do not let dimness adjust based on window opacity.
  46. # blur-background = true;               # Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
  47. # blur-background-frame = true;         # Blur background of opaque windows with transparent frames as well.
  48. #blur-background-fixed = false;         # Do not let blur radius adjust based on window opacity.
  49. blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; # Exclude conditions for background blur.
  50.  
  51. # Fading
  52. fading = true;                  # Fade windows during opacity changes.
  53. fade-delta = 12;                # The time between steps in a fade in milliseconds. (default 10).
  54. fade-in-step = 0.15;            # Opacity change between steps while fading in. (default 0.028).
  55. fade-out-step = 0.15;           # Opacity change between steps while fading out. (default 0.03).
  56. no-fading-openclose = false;    # Fade windows in/out when opening/closing.
  57.  
  58. # Other
  59. #inactive-dim = 0.5;            # Dim inactive windows. (0.0 - 1.0, defaults to 0).
  60. mark-wmwin-focused = true;      # Try to detect WM windows and mark them as active.
  61. mark-ovredir-focused = true;
  62. detect-rounded-corners = true;
  63.  
  64. # Window type settings
  65. wintypes:
  66. {
  67.   tooltip = { fade = true; shadow = false; opacity = 0.75; };
  68. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top