about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-04-15T12·24+0100
committerWilliam Carroll <wpcarro@gmail.com>2019-04-15T12·24+0100
commit4e399986717d61363f6174de0b85c3b39e040310 (patch)
tree9b77c590dc294cedb704533f7ddc6ec113768a79 /configs
parent0faa588ae1b09a0f91fc1559127c071ed49d508e (diff)
Support compton
Compton helps composite windows in X. This supports shadows, transparency, and
some other effects of which I'm unaware at the moment.
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/misc/.config/compton.conf14
-rw-r--r--configs/shared/x_server/.xsessionrc.shared3
2 files changed, 17 insertions, 0 deletions
diff --git a/configs/shared/misc/.config/compton.conf b/configs/shared/misc/.config/compton.conf
new file mode 100644
index 000000000000..51e8c8aaa1c4
--- /dev/null
+++ b/configs/shared/misc/.config/compton.conf
@@ -0,0 +1,14 @@
+# shadow
+shadow = true;
+shadow-radius = 7;
+shadow-offset-x = -7;
+shadow-offset-y = -7;
+
+# opacity
+menu-opacity = 0.8;
+inactive-opacity = 0.8;
+
+# transitions
+fading = true;
+fade-in-step = 0.03;
+fade-out-step = 0.03;
\ No newline at end of file
diff --git a/configs/shared/x_server/.xsessionrc.shared b/configs/shared/x_server/.xsessionrc.shared
index 8479f8b33c86..3b42e10622da 100644
--- a/configs/shared/x_server/.xsessionrc.shared
+++ b/configs/shared/x_server/.xsessionrc.shared
@@ -23,6 +23,9 @@ clipmenud &
 # Start the Emacs server
 emacs --daemon
 
+# start comption
+compton &
+
 # set kbds
 xmodmap -e 'remove Lock = Caps_Lock'
 xmodmap -e 'keysym Caps_Lock = Escape'