aboutsummaryrefslogtreecommitdiffstats
path: root/compton/.config/compton.org
blob: e077b7be76660d280324dd788b2bec7bbc8521fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#+TITLE: Compton config

Consider all windows grouped by =WM_TRANSIENT_FOR= to be focused when
one window in the group has focus.

#+BEGIN_SRC conf
  detect-transient = true;
#+END_SRC

* Shadows

  Turn on shadows.

  #+BEGIN_SRC conf
    shadow = true;
  #+END_SRC

  Don't draw shadows on drag-and-drop windows.

  #+BEGIN_SRC conf
    no-dnd-shadow = true;
  #+END_SRC

  Make shadows bigger.

  #+BEGIN_SRC conf
    shadow-radius = 10;
  #+END_SRC

  Don't show shadows for these windows.

  - mowedline :: This is my statusbar application, I make it completely
       transparent and that makes a shadow look very out of place.

  - Shaped windows :: Things look weird when shaped windows get a
       rectangular shadow.

  #+BEGIN_SRC conf
    shadow-exclude = [
        "name = 'mowedline'",
        "class_g = 'trayer'",
        "bounding_shaped"
    ];
  #+END_SRC