aboutsummaryrefslogtreecommitdiffstats
path: root/picom/.config/picom.org
diff options
context:
space:
mode:
Diffstat (limited to 'picom/.config/picom.org')
-rw-r--r--picom/.config/picom.org51
1 files changed, 51 insertions, 0 deletions
diff --git a/picom/.config/picom.org b/picom/.config/picom.org
new file mode 100644
index 0000000..cf53957
--- /dev/null
+++ b/picom/.config/picom.org
@@ -0,0 +1,51 @@
+#+TITLE: Picom config
+
+*Note*: This used to be the configuration for Compton, but they've renamed Compton
+to Picom.
+
+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 or dock windows.
+
+ #+BEGIN_SRC conf
+ wintypes:
+ {
+ dnd = { shadow = false },
+ dock = { shadow = false }
+ }
+ #+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