Add app/present
This commit is contained in:
parent
7501167d66
commit
f00ed33911
3 changed files with 65 additions and 0 deletions
27
modules/app/present/autoload.el
Normal file
27
modules/app/present/autoload.el
Normal 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))
|
Loading…
Add table
Add a link
Reference in a new issue