From 64bb58c946cf3b64077a5224c942b2208dc2b7e7 Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Wed, 5 Jun 2013 17:08:41 +0200 Subject: [PATCH] add compton for compositing --- x/compton.conf | 27 +++++++++++++++++++++++++++ x/xinitrc.symlink | 1 + 2 files changed, 28 insertions(+) create mode 100644 x/compton.conf diff --git a/x/compton.conf b/x/compton.conf new file mode 100644 index 0000000..74ea0bc --- /dev/null +++ b/x/compton.conf @@ -0,0 +1,27 @@ +# shadow +shadow = true; +no-dnd-shadow = true; +no-dock-shadow = true; +clear-shadow = true; +shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'" ]; + +# opacity +menu-opacity = 0.9 + +# general +#backend = "glx" +sw-opti = true; + +# GLX backend +glx-no-stencil = true; +#glx-copy-from-front = false; +# glx-use-copysubbuffermesa = true; +#glx-no-rebind-pixmap = true; +glx-swap-method = "exchange"; + + +# Window type settings +wintypes: +{ + tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; }; +}; \ No newline at end of file diff --git a/x/xinitrc.symlink b/x/xinitrc.symlink index 552a010..67b1f28 100644 --- a/x/xinitrc.symlink +++ b/x/xinitrc.symlink @@ -7,4 +7,5 @@ pulseaudio --start volnoti dropbox start & urxvtd -f -o +(sleep 2s; compton --config ~/dotfiles/x/compton.conf -b) & exec awesome -c ~/dotfiles/awesome/rc.lua