diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-15 14:26:15 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-15 14:28:19 +1300 |
commit | 0bff2338642b1dab20c9a720e632691a46153a6a (patch) | |
tree | eaa7efffe6c46d548c28bc1a833a7cf41979e16c /X/xinitrc.d/redshift.sh | |
parent | Use .d directory for .xinitrc subscripts (diff) | |
download | dotfiles-0bff2338642b1dab20c9a720e632691a46153a6a.tar.gz dotfiles-0bff2338642b1dab20c9a720e632691a46153a6a.zip |
Add command guards around .xinitrc.d subscripts
Diffstat (limited to 'X/xinitrc.d/redshift.sh')
-rw-r--r-- | X/xinitrc.d/redshift.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/X/xinitrc.d/redshift.sh b/X/xinitrc.d/redshift.sh index 929f564e..d5d58d8a 100644 --- a/X/xinitrc.d/redshift.sh +++ b/X/xinitrc.d/redshift.sh @@ -1,2 +1,3 @@ # Start redshift(1) +command -v redshift >/dev/null 2>&1 || return redshift & |