From 5c990c2b3b1d8ea1f7d381ad031a3c1440a9f0b8 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 15 Nov 2024 03:40:39 +0200 Subject: emacs: Add org-present --- .config/emacs/init.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to '.config/emacs') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 1b26af5..35d15c9 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -400,6 +400,19 @@ org-roam-ui-update-on-save t org-roam-ui-open-on-start t)) +(use-package org-present + :vc (:url "https://github.com/rlister/org-present") + :hook ((org-present-mode . (lambda () + (org-present-big) + (org-display-inline-images) + (org-present-hide-cursor) + (org-present-read-only))) + (org-present-mode-quit . (lambda () + (org-present-small) + (org-remove-inline-images) + (org-present-show-cursor) + (org-present-read-write))))) + (unless (or is-phone is-uranus) (use-package modus-themes :vc (:url "https://github.com/protesilaos/modus-themes") -- cgit v1.2.3