Configurable clipboard time.
Fix argument order for mktemp

mktemp expects all options before a template. This prevented the
temporary file for "pass edit" mode from being created in /dev/shm.