diff --git a/redshift/.config/X11/Xsession.d/redshift-gtk.sh b/redshift/.config/X11/Xsession.d/redshift-gtk.sh index 72898b0..e52f763 100755 --- a/redshift/.config/X11/Xsession.d/redshift-gtk.sh +++ b/redshift/.config/X11/Xsession.d/redshift-gtk.sh @@ -1,3 +1,5 @@ #!/usr/bin/env sh -pgrep redshift-gtk || { redshift-gtk & } +command -v redshift-gtk \ + && (pgrep redshift-gtk \ + || { redshift-gtk & })