diff options
-rw-r--r-- | .emacs.d/rul-init.d/writeroom.el | 34 | ||||
-rw-r--r-- | .emacs.d/rul-lisp/packages/rul-wm.el | 8 |
2 files changed, 8 insertions, 34 deletions
diff --git a/.emacs.d/rul-init.d/writeroom.el b/.emacs.d/rul-init.d/writeroom.el deleted file mode 100644 index 50780cc..0000000 --- a/.emacs.d/rul-init.d/writeroom.el +++ /dev/null @@ -1,34 +0,0 @@ -(use-package writeroom-mode - :defer t - :config - (setq writeroom-width 140 - writeroom-mode-line nil - writeroom-global-effects '(writeroom-set-bottom-divider-width - writeroom-set-internal-border-width - (lambda (arg) - (let ((langs '("python" - "emacs-lisp" - "common-lisp" - "js" - "ruby"))) - (cond - ((= arg 1) - (progn - (setq org-src-block-faces - (mapcar (lambda (lang) (list lang '(:family "Source Code Pro" :height 0.8))) langs)) - (normal-mode) - (variable-pitch-mode))) - ((= arg -1) - (progn - (setq org-src-block-faces - (mapcar (lambda (lang) (list lang '(:family "Source Code Pro" :height 1.0))) langs)) - (normal-mode) - (variable-pitch-mode) -(variable-pitch-mode))))))))) - -(use-package olivetti - :defer t - :config - (setq - olivetti-body-width 86 - )) diff --git a/.emacs.d/rul-lisp/packages/rul-wm.el b/.emacs.d/rul-lisp/packages/rul-wm.el index a732f49..cea3a76 100644 --- a/.emacs.d/rul-lisp/packages/rul-wm.el +++ b/.emacs.d/rul-lisp/packages/rul-wm.el @@ -23,4 +23,12 @@ (set-face-attribute 'tab-bar nil :height 0.8) (tab-bar-mode 1) +(use-package olivetti + :ensure t + :defer t + :config + (setq + olivetti-body-width 100 + )) + (provide 'rul-wm) |