diff --git a/picom/.config/X11/Xsession.d/picom.sh b/picom/.config/X11/Xsession.d/picom.sh index 1a095e8..4e1db7c 100755 --- a/picom/.config/X11/Xsession.d/picom.sh +++ b/picom/.config/X11/Xsession.d/picom.sh @@ -1,3 +1,5 @@ #!/usr/bin/env sh -pgrep picom || picom --daemon +command -v picom \ + && (pgrep picom \ + || picom --daemon)