aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--README.md1
-rw-r--r--picom/picom.conf13
-rw-r--r--picom/xsession.d/picom.sh2
-rw-r--r--x/xsession.sh2
5 files changed, 21 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 81464d18..5294e7c2 100644
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,7 @@
install-parcellite \
install-perlcritic \
install-perltidy \
+ install-picom \
install-plenv \
install-psql \
install-pyenv \
@@ -548,6 +549,10 @@ install-perltidy: install-sh
mkdir -p -- $(XDG_CONFIG_HOME)/perltidy
cp -p -- perltidy/perltidyrc $(XDG_CONFIG_HOME)/perltidy/perltidyrc
+install-picom: install-x
+ cp -p -- picom/picom.conf $(XDG_CONFIG_HOME)
+ cp -p -- picom/xsession.d/picom.sh $(HOME)/.xsession.d
+
install-plenv: install-sh install-cpanm
cp -p -- plenv/profile.d/plenv.sh $(HOME)/.profile.d
cp -p -- plenv/shrc.d/plenv.sh $(HOME)/.shrc.d
diff --git a/README.md b/README.md
index 0953a61a..ab175b8b 100644
--- a/README.md
+++ b/README.md
@@ -101,6 +101,7 @@ Configuration is included for:
- [Perl::Critic](http://perlcritic.com/)---static source code analysis engine
for Perl
- [Perl::Tidy](http://perltidy.sourceforge.net/)---reformats Perl source code
+- [picom](https://github.com/yshui/picom)---compositor for X
- [Readline](https://tiswww.case.edu/php/chet/readline/rltop.html)---GNU
library for user input used by Bash, MySQL, and others
- [rxvt-unicode](http://software.schmorp.de/pkg/rxvt-unicode.html)---Fork of
diff --git a/picom/picom.conf b/picom/picom.conf
new file mode 100644
index 00000000..608a2090
--- /dev/null
+++ b/picom/picom.conf
@@ -0,0 +1,13 @@
+backend = "glx";
+fade-delta = 15
+fade-in-step = 0.01;
+fade-out-step = 0.01;
+fading = true;
+frame-opacity = 0.95;
+glx-no-rebind-pixmap = true
+inactive-dim = 0.1
+inactive-opacity = 0.95;
+no-fading-openclose = true
+shadow = true;
+use-damage = true;
+vsync = true;
diff --git a/picom/xsession.d/picom.sh b/picom/xsession.d/picom.sh
new file mode 100644
index 00000000..1b5807ff
--- /dev/null
+++ b/picom/xsession.d/picom.sh
@@ -0,0 +1,2 @@
+# Start X compositor
+picom &
diff --git a/x/xsession.sh b/x/xsession.sh
index c224c474..9cf4a99a 100644
--- a/x/xsession.sh
+++ b/x/xsession.sh
@@ -46,8 +46,6 @@ xset \
# log the failed attempt to start them to the errors file, as a hint that
# I might want to install them.
#
-## Display compositor
-picom &
## Message display (libnotify)
dunst &
## PulseAudio system tray tool