This website requires JavaScript.
Explore
Help
Sign in
ryuslash
/
dotfiles
Watch
1
Star
0
Fork
You've already forked dotfiles
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
0e2fe034a8
dotfiles
/
picom
/
.config
/
X11
/
Xsession.d
/
picom.sh
6 lines
91 B
Bash
Raw
Normal View
History
Unescape
Escape
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.
2020-04-27 06:01:48 +02:00
#!/usr/bin/env sh
Check if picom exists before trying to run it
2020-12-27 08:12:20 +01:00
command
-v picom
\
&&
(
pgrep picom
\
||
picom --daemon
)
Reference in a new issue
Copy permalink