aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul Benencia <raul@thousandeyes.com>2023-11-27 13:33:24 -0800
committerRaul Benencia <raul@thousandeyes.com>2023-11-27 13:33:24 -0800
commit954d50870c4a033dc30f5da5ccb60244e8660cde (patch)
tree91a4a527dacf1e3b0233f17424487e46c5d49454
parenta0eca4706fe57701ec7d0e2a79df059e851bc3f6 (diff)
emacs: ensure olivetti
-rw-r--r--.emacs.d/rul-init.d/writeroom.el34
-rw-r--r--.emacs.d/rul-lisp/packages/rul-wm.el8
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)
nihil fit ex nihilo