rice

personal dot files and scripts for linux and macOS
Log | Files | Refs | README | LICENSE

commit a19222fb17a910851312579915f14f26f0bafbed
parent 3611dd4c4b066f85c5169706bf83322d5cebed4a
Author: Mark Feller <mark@mfeller.io>
Date:   Thu, 16 Dec 2021 18:51:05 -0700

handle both linux and macos better for emacs config

Diffstat:
Adots/.config/emacs/core/core-linux.el | 1+
Mdots/.config/emacs/lisp/acme-dark/acme-dark-theme.el | 2+-
Mdots/.config/emacs/lisp/init-local.el | 9+++++----
Mdots/.config/emacs/lisp/init-preload-local.el | 4++--
4 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/dots/.config/emacs/core/core-linux.el b/dots/.config/emacs/core/core-linux.el @@ -0,0 +1 @@ +(set-frame-parameter nil 'internal-border-width 25) diff --git a/dots/.config/emacs/lisp/acme-dark/acme-dark-theme.el b/dots/.config/emacs/lisp/acme-dark/acme-dark-theme.el @@ -59,7 +59,7 @@ (let ( ;; Primary Colors - (fg "#d5d5d5") + (fg "#ebdbb2") (fg-light "#f5f5f5") (fg-dark "#c5c5c5") (bg "#1a1a17") diff --git a/dots/.config/emacs/lisp/init-local.el b/dots/.config/emacs/lisp/init-local.el @@ -1,5 +1,8 @@ -(resize-small) -(mjf/center-window) +(when (eq system-type 'darwin) + (resize-small) + (mjf/center-window) + (exec-path-from-shell-initialize)) + (setq-default mode-line-format '((:propertize " " face mode-line-height) @@ -17,8 +20,6 @@ (vc-mode vc-mode) " " mode-line-modes mode-line-misc-info mode-line-end-spaces)) -(exec-path-from-shell-initialize) - (setq elfeed-feeds `("https://thume.ca/atom.xml" "https://lukesmith.xyz/rss.xml" diff --git a/dots/.config/emacs/lisp/init-preload-local.el b/dots/.config/emacs/lisp/init-preload-local.el @@ -1,6 +1,6 @@ (setq shell-file-name "/bin/zsh") -(load-file (expand-file-name "lisp/poet/poet-theme.el" emacs-dir)) -(load-theme 'poet) +(load-file (expand-file-name "lisp/acme/acme-theme.el" emacs-dir)) +(load-theme 'acme) (provide 'init-preload-local)