From b0c87544fe0c8b103354904370445757e05b9bab Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Wed, 12 Jun 2024 23:17:41 -0700 Subject: Restructuring - Break functions out to their own files - Move user settings to its own file - Move dashboard to its own file - Remove old splash - Don't hardcode executables --- elchemy.el | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'elchemy.el') diff --git a/elchemy.el b/elchemy.el index a4e224b..c4075c4 100644 --- a/elchemy.el +++ b/elchemy.el @@ -1,14 +1,15 @@ (require 'package) (setq package-enable-at-startup nil) (add-to-list 'package-archives - '("melpa" . "https://melpa.org/packages/") t) + '("melpa" . "https://melpa.org/packages/") t) (package-initialize) (unless (package-installed-p 'use-package) (package-refresh-contents) (package-install 'use-package)) -(add-to-list 'load-path "~/.elchemy/") +(setq elchemy/elchemy-root "~/.elchemy/") +(add-to-list 'load-path elchemy/elchemy-root) (require 'elchemy-boilerplate) (require 'elchemy-user) (require 'elchemy-util) @@ -17,12 +18,7 @@ (require 'elchemy-keys) (require 'elchemy-hooks) -(setq inhibit-startup-screen t) (toggle-frame-maximized) -;;(require 'elchemy-splash) - -(put 'narrow-to-region 'disabled nil) -(put 'downcase-region 'disabled nil) (require 'elchemy-personal) (custom-set-faces @@ -30,7 +26,7 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(header-line ((t (:inherit mode-line :background "gray95" :foreground "grey20" :box nil :height 1.1)))) + '(mode-line ((t (:background "grey95" :foreground "gray20" :height 1.1)))) '(org-document-title ((t (:height 2.0 :underline nil)))) '(org-document-info-keyword ((t (:foreground "gray100" :height 0.1)))) '(org-level-1 ((t (:inherit outline-1 :extend nil :weight extra-bold :height 1.4)))) -- cgit v1.2.1