Emacs: replace ns-auto-titlebar with simple code
1 file changed, 3 insertions(+), 3 deletions(-)
changed files
M user/emacs/.emacs.d/main.el → user/emacs/.emacs.d/main.el
@@ -89,9 +89,9 @@ (push (list 'eyebrowse-mode moody-replace-eyebrowse-lighter) (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))