aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2023-08-15 22:18:56 +1200
committerTom Ryder <tom@sanctum.geek.nz>2023-08-15 22:18:56 +1200
commit8ad9f4a54302a7b79bdfe7de8f1fb5eefea04eab (patch)
tree96b07f156d0947d0e48bd7e8022e96e9a1af9c5a
parentMerge branch 'release/v12.41.0' into develop (diff)
downloaddotfiles-8ad9f4a54302a7b79bdfe7de8f1fb5eefea04eab.tar.gz
dotfiles-8ad9f4a54302a7b79bdfe7de8f1fb5eefea04eab.zip
Revert "Remove picom (X compositor)"
This reverts commit ad35987a6ce12d46aaa1cc1570c25ae6414f6f60. I needed to enable this to get transparency working for mouse-click displays in vokoscreenNG. Maybe it'll help elsewhere in ways I'd not considered. Let's give this another go.
-rw-r--r--Makefile5
-rw-r--r--README.md1
-rw-r--r--picom/picom.conf9
-rw-r--r--picom/xsession.d/picom.sh2
4 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9f98ce20..374c3ed4 100644
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,7 @@
install-parcellite \
install-perlcritic \
install-perltidy \
+ install-picom \
install-plenv \
install-psql \
install-pyenv \
@@ -543,6 +544,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 0c4ee069..9f368177 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
- [Subversion](https://subversion.apache.org/)---Apache Subversion, a version
diff --git a/picom/picom.conf b/picom/picom.conf
new file mode 100644
index 00000000..9a2e8277
--- /dev/null
+++ b/picom/picom.conf
@@ -0,0 +1,9 @@
+backend = "glx";
+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 &