From b1c04a8d4482245a6f48bc2eeda5adf41f4c1851 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 8 Oct 2019 21:06:37 +0200 Subject: Emacs: replace ns-auto-titlebar with simple code --- user/emacs/.emacs.d/main.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user/emacs/.emacs.d/main.el') 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)) -- cgit 1.4.1