Check if picom exists before trying to run it

This commit is contained in:
Tom Willemse 2020-12-26 23:12:20 -08:00
parent 2e1cf24bc1
commit 92d397dffb

View file

@ -1,3 +1,5 @@
#!/usr/bin/env sh #!/usr/bin/env sh
pgrep picom || picom --daemon command -v picom \
&& (pgrep picom \
|| picom --daemon)