diff options
Diffstat (limited to 'redshift.el')
| -rw-r--r-- | redshift.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/redshift.el b/redshift.el index a9b2774..5a655c8 100644 --- a/redshift.el +++ b/redshift.el @@ -52,9 +52,12 @@ (defun redshift-set-temp (temp) "Set display color temperature of display to TEMP and return TEMP." (interactive "nColor temperature: ") - (and (start-process "redshift" nil redshift-program - "-O" (number-to-string temp)) - temp)) + (progn (start-process "redshift" nil redshift-program + "-x") + (sleep-for 0.5) + (start-process "redshift" nil redshift-program + "-O" (number-to-string temp)) + temp)) ;;;###autoload (defun redshift-increase-temp () |
