From 5bb0014265536ee59a9d63625f716257bdd2785c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 26 Apr 2020 21:01:48 -0700 Subject: Reorganize xsession and Xresources - Add xsession. Instead of requiring each of my machines to setup their own ‘.xsession’ add one that should work for all of them. - Use M4 for the Xresources database. I didn’t want the X11 project to be aware of all the configuration files that could be added in there and I was able to figure out how to have it load all of the configuration files in the ‘Xresources.d’ directory. Now each configuration can inject properties into the X resources database. - Have ‘.xsession’ load all of the scripts in ‘.config/X11/Xsession.d’. Each configuration can now inject some script to run when X starts. - Have ‘.xsession’ load a machine-specific script so that each machine can override what it does when X starts. --- picom/.config/Xsession.d/picom.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 picom/.config/Xsession.d/picom.sh (limited to 'picom') diff --git a/picom/.config/Xsession.d/picom.sh b/picom/.config/Xsession.d/picom.sh new file mode 100644 index 0000000..1a095e8 --- /dev/null +++ b/picom/.config/Xsession.d/picom.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +pgrep picom || picom --daemon -- cgit v1.2.3-54-g00ecf