summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-02-05 15:20:57 +0000
committerAlan Pearce2019-02-05 15:20:57 +0000
commitd003572ef2a5e1247b1b7da60062eb6b95721a18 (patch)
tree7ff4995fce4a30d56c9df7e2adfe21f6191310b0
parent10be7569bdcab997f7e2e10422432e5674446811 (diff)
downloadnixfiles-d003572ef2a5e1247b1b7da60062eb6b95721a18.tar.lz
nixfiles-d003572ef2a5e1247b1b7da60062eb6b95721a18.tar.zst
nixfiles-d003572ef2a5e1247b1b7da60062eb6b95721a18.zip
Emacs: improve macOS chrome display
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index c6e81fee..21e6bad0 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -236,6 +236,9 @@
 
 (add-to-list 'default-frame-alist '(border-width . 0))
 (add-to-list 'default-frame-alist '(internal-border-width . 0))
+(when (eq system-type 'darwin)
+  (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
+  (add-to-list 'default-frame-alist '(ns-appearance . light)))
 (when (or (eq window-system 'x)
           (eq window-system 'mac))
   (setq window-divider-default-bottom-width 1