From 58475d45e805abef7b2b69f0a275a0ed358f1daf Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 17 Aug 2022 00:07:01 +1200 Subject: Add target and config for picom This is mostly cribbed from the sample config, but it's already looking pretty good. --- Makefile | 5 +++++ README.md | 1 + picom/picom.conf | 13 +++++++++++++ picom/xsession.d/picom.sh | 2 ++ x/xsession.sh | 2 -- 5 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 picom/picom.conf create mode 100644 picom/xsession.d/picom.sh 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 -- cgit v1.2.3