summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-03-16 11:50:52 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-03-16 11:50:52 +0100
commit02e0b97ff316f6f57246c335c9bd51664139dd50 (patch)
treead6e218c823ddf33c71f18fa8cc7317d34657f8d
parent104124b528719d71897eeba3a21858a9ebdc5a84 (diff)
Add some frame padding.
-rw-r--r--init.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.org b/init.org
index 46bde48..2efc654 100644
--- a/init.org
+++ b/init.org
@@ -190,6 +190,17 @@ The Modus themes look pretty nice.
(setq modus-themes-org-blocks 'gray-background)
(setq modus-themes-variable-pitch-headings t)
(load-theme 'modus-operandi t)
+
+;; Add frame borders and window dividers
+(modify-all-frames-parameters
+ '((right-divider-width . 20)
+ (internal-border-width . 20)))
+(dolist (face '(window-divider
+ window-divider-first-pixel
+ window-divider-last-pixel))
+ (face-spec-reset-face face)
+ (set-face-foreground face (face-attribute 'default :background)))
+(set-face-background 'fringe (face-attribute 'default :background))
#+END_SRC
Dired mode becomes much prettier with =all-the-icons=.