aboutsummaryrefslogtreecommitdiffstats
path: root/compton
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-11-09 15:00:12 +0100
committerGravatar Tom Willemse2016-11-09 15:00:12 +0100
commit1fe6639ddf9545992caae7bfaa1fa30ad7bdcb97 (patch)
treede73127d95fc62112fdcef63f43bd52b3010612f /compton
parent4689b0c4b39e010a3b52087eef174fd7014e9d98 (diff)
downloadnew-dotfiles-1fe6639ddf9545992caae7bfaa1fa30ad7bdcb97.tar.gz
new-dotfiles-1fe6639ddf9545992caae7bfaa1fa30ad7bdcb97.zip
Add shadows to compton config
Diffstat (limited to 'compton')
-rw-r--r--compton/.config/compton.org45
1 files changed, 39 insertions, 6 deletions
diff --git a/compton/.config/compton.org b/compton/.config/compton.org
index a0043cc..6a5eac8 100644
--- a/compton/.config/compton.org
+++ b/compton/.config/compton.org
@@ -1,10 +1,43 @@
-Don't show shados for these windows.
+#+TITLE: Compton config
-- mowedline :: This is my statusbar application, I make it completely
- transparent and that makes a shadow look very out of place.
+Consider all windows grouped by =WM_TRANSIENT_FOR= to be focused when
+one window in the group has focus.
#+BEGIN_SRC conf
- shadow-exclude = [
- "name = 'mowedline'"
- ];
+ 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'",
+ "bounding_shaped"
+ ];
+ #+END_SRC