2016-11-09 15:00:12 +01:00
|
|
|
#+TITLE: Compton config
|
2016-11-03 15:25:26 +01:00
|
|
|
|
2016-11-09 15:00:12 +01:00
|
|
|
Consider all windows grouped by =WM_TRANSIENT_FOR= to be focused when
|
|
|
|
one window in the group has focus.
|
2016-11-03 15:25:26 +01:00
|
|
|
|
|
|
|
#+BEGIN_SRC conf
|
2016-11-09 15:00:12 +01:00
|
|
|
detect-transient = true;
|
2016-11-03 15:25:26 +01:00
|
|
|
#+END_SRC
|
2016-11-09 15:00:12 +01:00
|
|
|
|
|
|
|
* Shadows
|
|
|
|
|
|
|
|
Turn on shadows.
|
|
|
|
|
|
|
|
#+BEGIN_SRC conf
|
|
|
|
shadow = true;
|
|
|
|
#+END_SRC
|
|
|
|
|
2019-04-03 09:00:56 +02:00
|
|
|
Don't draw shadows on drag-and-drop windows or dock windows.
|
2016-11-09 15:00:12 +01:00
|
|
|
|
|
|
|
#+BEGIN_SRC conf
|
2019-04-03 09:00:56 +02:00
|
|
|
wintypes:
|
|
|
|
{
|
|
|
|
dnd = { shadow = false },
|
|
|
|
dock = { shadow = false }
|
|
|
|
}
|
2016-11-09 15:00:12 +01:00
|
|
|
#+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'",
|
2016-11-15 17:25:58 +01:00
|
|
|
"class_g = 'trayer'",
|
2016-11-09 15:00:12 +01:00
|
|
|
"bounding_shaped"
|
|
|
|
];
|
|
|
|
#+END_SRC
|