Skip to content
Roman Zagrebin edited this page Aug 26, 2021 · 5 revisions

Natural title bar, the name adopted from same feature patch for emacs-plus, means title bar color inferred by theme. Similar features seen on Atom, VSCode and latest Sublime text.

Usage

This feature DISABLED by default.

To enable it, by setting:

  1. For dark themes: defaults write org.gnu.Emacs TransparentTitleBar DARK

  2. For light themes: defaults write org.gnu.Emacs TransparentTitleBar LIGHT

To disable:

defaults write org.gnu.Emacs TransparentTitleBar NO
or
defaults delete org.gnu.Emacs TransparentTitleBar

All settings will been used in new frame or after restart Emacs

See also:

scroll-bar-background feature:

Support the frame parameter scroll-bar-background. (Since emacs-25.3-mac-6.7) > If it is nil, which is the default, then the frame background color is used instead. Its color also affects the appearance of other GUI parts: the title bar, the tool bar, (the tab bar on macOS 10.12 and later), scroll bars, and popup menus become light (or dark) if the color is considered light (or dark, respectively). On macOS 10.12 and later, the title/tool/tab bars look slightly colored with the value of the `scroll-bar-background' frame parameter (or the frame background color) if the frame is focused and not in fullscreen.