From 7f517ee8046c1e64b1a66ce48cc6b8a3f67654ec Mon Sep 17 00:00:00 2001 From: Yisu Rem Wang Date: Sun, 17 May 2020 10:13:42 -0700 Subject: [PATCH] Transparent title bar Make the title bar transparent for a cleaner look. Tested on MacOS. --- elegance.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elegance.el b/elegance.el index 7e475bd..e441d91 100644 --- a/elegance.el +++ b/elegance.el @@ -32,11 +32,15 @@ (set-face-font 'default "Roboto Mono Light 14") (setq default-frame-alist (append (list '(width . 73) '(height . 41) + '(ns-transparent-titlebar . t) '(vertical-scroll-bars . nil) '(internal-border-width . 24) '(font . "Roboto Mono Light 14")))) (set-frame-parameter (selected-frame) 'internal-border-width 24) +;; Transparent title bar +(setq ns-use-proxy-icon nil) +(setq frame-title-format nil) ;; Line spacing, can be 0 for code and 1 or 2 for text (setq-default line-spacing 0)