From 09a0a4528c94f8b8164671a71d469578d06be283 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 30 Jun 2019 12:38:26 +0200 Subject: Emacs: configure "transparent" titlebars on macOS --- emacs/.emacs.d/main.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index f6f453d3..e09d68ac 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -35,7 +35,9 @@ (when (or (daemonp) window-system) - (load-theme 'eink t)) + (load-theme 'eink t) + (setq frame-background-mode 'light) + (mapc 'frame-set-background-mode (frame-list))) (global-hl-line-mode +1) @@ -52,6 +54,10 @@ (setq frame-title-format (list "Emacs")) +(use-package ns-auto-titlebar + :if (eq system-type 'darwin) + :custom ((ns-auto-titlebar-mode t))) + ;;; Dates & Times (custom-set-variables -- cgit 1.4.1