summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-10-08 21:06:37 +0200
committerAlan Pearce2019-10-08 21:06:37 +0200
commitb1c04a8d4482245a6f48bc2eeda5adf41f4c1851 (patch)
tree19126e9bc74abd02b377689025f46c1478030c2c /user/emacs
parente3a41fb740bd254ef63eeaee0c70a5d854fd0490 (diff)
downloadnixfiles-b1c04a8d4482245a6f48bc2eeda5adf41f4c1851.tar.lz
nixfiles-b1c04a8d4482245a6f48bc2eeda5adf41f4c1851.tar.zst
nixfiles-b1c04a8d4482245a6f48bc2eeda5adf41f4c1851.zip
Emacs: replace ns-auto-titlebar with simple code
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/.emacs.d/main.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/user/emacs/.emacs.d/main.el b/user/emacs/.emacs.d/main.el
index 1aa128bc..4ee62507 100644
--- a/user/emacs/.emacs.d/main.el
+++ b/user/emacs/.emacs.d/main.el
@@ -89,9 +89,9 @@
                       (cdr (last mode-line-misc-info)))))
               (moody-replace-eyebrowse nil))))
 
-(use-package ns-auto-titlebar
-  :if (eq system-type 'darwin)
-  :custom ((ns-auto-titlebar-mode t)))
+(when (eq system-type 'darwin)
+  (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
+  (add-to-list 'default-frame-alist '(ns-appearance . 'light)))
 
 (add-to-list 'default-frame-alist '(width . 100))
 (add-to-list 'default-frame-alist '(height . 40))