From ad0adbc7266af6f64eb6f883bcd566182f135935 Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Mon, 4 Nov 2024 09:43:21 +0100 Subject: [PATCH 1/2] feat: Enable global auto-revert mode --- config.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.org b/config.org index 84fc64c..c990b2b 100644 --- a/config.org +++ b/config.org @@ -269,6 +269,12 @@ Make cursor the width of the character it is under f.e. full width of a tab. (setq x-stretch-cursor t) #+END_SRC +** Enable auto-revert + +#+BEGIN_SRC emacs-lisp +(setq global-auto-revert-mode 1) +#+END_SRC + * Resize-mode Minor-mode to easily resize frames (works with EXWM (firefox, ...)). From 7285b8750ed850a9305611bc88d4095abdee0737 Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Sun, 17 Nov 2024 19:27:26 +0100 Subject: [PATCH 2/2] feat: load init.el from (org-)notes repo if it exists --- init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.el b/init.el index e442e9c..fa74166 100644 --- a/init.el +++ b/init.el @@ -7,10 +7,14 @@ (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) ;; This is the actual config file. It is omitted if it doesn't exist so emacs won't refuse to launch. (defvar my-config-file (expand-file-name "config.org" user-emacs-directory)) + (defvar notes-config-file (expand-file-name "init.el" "~/projects/notes/")) (when (file-readable-p my-config-file) (org-babel-load-file (expand-file-name my-config-file))) (when (file-readable-p custom-file) (load custom-file)) + + (when (file-readable-p notes-config-file) + (load notes-config-file)) )