Add app/present

This commit is contained in:
Henrik Lissner 2017-04-07 20:05:21 -04:00
parent 7501167d66
commit f00ed33911
3 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1,27 @@
;;; app/present/autoload.el
;;;###autoload
(defun +present/buffer ()
(interactive)
(require 'simple-httpd)
(unless (process-status "httpd")
(httpd-start))
(unless impatient-mode
(impatient-mode +1)))
;;;###autoload
(define-minor-mode +present/big-mode
:init-value nil
:lighter " BIG"
:global t
(if +present-big-mode
(set-frame-font +present-big-font t t)
(set-frame-font +present-original-font t t)))
;;;###autoload
(defun +present/stream ()
"Resize the frame pixelwise, so that it fits directly into my livecoding.tv
streaming layout."
(interactive)
(set-frame-width (selected-frame) 1325 nil t)
(set-frame-height (selected-frame) 1080 nil t))