diff --git a/README.org b/README.org index 8d2727b5..b7145759 100644 --- a/README.org +++ b/README.org @@ -616,6 +616,10 @@ Let's start by creating a self contained function of what I'd like started on ev (evil-normal-state) (setq visual-fill-column-width 120 visual-fill-column-center-text t)) + +(defun chris/org-mpv (url) + (interactive) + (bongo-insert-uri url (format "%s ==> %s" title url))) #+end_src This is the use-package definition with a lot of customization. Need to setup auto tangle and make sure I have some structure templates for org-mode. @@ -1170,6 +1174,31 @@ If on a: (org-display-inline-images t t beg end) t))) #+end_src + +*** Org Reveal +Org reveal allows me to create beautiful and powerful slideshows using the incredible reveal.js system. Whilst I hate the web making so much into terrible things, I do really like reveal.js. It's honestly a much better picture of what javascript can do than apps like Facebook. + +So, how do we use this? Well, let's try like this. +#+begin_src emacs-lisp +(use-package org-re-reveal + :ensure nil + :config + (setq org-re-reveal-root "file:///home/chris/org/presentations/reveal.js/" + org-re-reveal-theme "serif" + org-re-reveal-transition "slide" + org-re-reveal-mobile-app t) + ) +#+end_src + +*** Ox-Spectacle +Spectacle.js is another beautiful slideshow builder that org can export to using ox-spectacle. +#+begin_src emacs-lisp +(use-package ox-spectacle + :config + + ) +#+end_src + ** Emoji In order to render color emojis I'll use =unicode-fonts=. #+begin_src emacs-lisp @@ -2830,7 +2859,7 @@ Let's add our own eshell prompt. and set the password cache to a significantly h (format (propertize "\n[ %s | %s@%s ]" 'face font-lock-comment-face) (propertize root 'face `(:inherit org-warning)) - (propertize after-root 'face `(:inherit org-level-1)) + (propertize after-root 'face `(:inherit org-level-1 :height 1.0)) (propertize (or (magit-get-current-branch) (magit-get-current-tag)) 'face `(:inherit org-macro)))) (format (propertize "\n[%s]" 'face font-lock-comment-face) @@ -3211,7 +3240,7 @@ Since Bongo seems kinda difficult I shall give EMMS another try. :config (emms-all) (evil-collection-emms-setup) - (emms-default-players) + (setq emms-player-list '(emms-player-vlc)) (setq emms-source-file-default-directory "~/Music/" emms-tag-editor-tag-ogg-program "mid3v2") diff --git a/init.el b/init.el index 76a79f41..c40f2fcc 100644 --- a/init.el +++ b/init.el @@ -352,6 +352,10 @@ (setq visual-fill-column-width 120 visual-fill-column-center-text t)) +(defun chris/org-mpv (url) + (interactive) + (bongo-insert-uri url (format "%s ==> %s" title url))) + (use-package org :defer 1 :config @@ -844,6 +848,20 @@ If on a: (org-display-inline-images t t beg end) t))) +(use-package org-re-reveal + :ensure nil + :config + (setq org-re-reveal-root "file:///home/chris/org/presentations/reveal.js/" + org-re-reveal-theme "serif" + org-re-reveal-transition "slide" + org-re-reveal-mobile-app t) + ) + +(use-package ox-spectacle + :config + + ) + (use-package unicode-fonts :ensure t :config @@ -1952,7 +1970,7 @@ targets." (format (propertize "\n[ %s | %s@%s ]" 'face font-lock-comment-face) (propertize root 'face `(:inherit org-warning)) - (propertize after-root 'face `(:inherit org-level-1)) + (propertize after-root 'face `(:inherit org-level-1 :height 1.0)) (propertize (or (magit-get-current-branch) (magit-get-current-tag)) 'face `(:inherit org-macro)))) (format (propertize "\n[%s]" 'face font-lock-comment-face) @@ -2292,7 +2310,7 @@ interfere with the default `bongo-playlist-buffer'." :config (emms-all) (evil-collection-emms-setup) - (emms-default-players) + (setq emms-player-list '(emms-player-vlc)) (setq emms-source-file-default-directory "~/Music/" emms-tag-editor-tag-ogg-program "mid3v2")