detecting x prevented it from running in cron. rediecting feh's "no x server" error now.