Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transparent titlebar #2

Closed
takaxp opened this issue Sep 23, 2018 · 5 comments
Closed

transparent titlebar #2

takaxp opened this issue Sep 23, 2018 · 5 comments

Comments

@takaxp
Copy link

takaxp commented Sep 23, 2018

Hi.
I like your new Emacs definition as a framework for creating any text editor you want :)

BTW, from Emacs 26.1 on macOS, the titlebar can be transparent like:

screen shot 2018-09-23 at 12 29 10

with the following settings.

(when (memq window-system '(mac ns))
  (add-to-list 'default-frame-alist '(ns-appearance . light)) ;; {light, dark}
  (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t)))

I believe these options will make castlemacs more modern.

Thanks.

@freetonik
Copy link
Owner

Hi!

This didn't work in Emacs port, unfortunately. But did work in https://emacsformacosx.com/

Any ideas how to fix that?

@takaxp
Copy link
Author

takaxp commented Sep 24, 2018

Hi!

If you use a dark theme with '(ns-apperance . dark) then you can see the colored titlebar.

EMP (Emacs Mac Port):
screen shot 2018-09-24 at 23 35 08

NS:
screen shot 2018-09-25 at 0 00 37

If you cannot see any changes in your Emacs Mac Port build version, then just restrict the setting to NS build version :)

(when (eq window-system 'ns)
  (add-to-list 'default-frame-alist '(ns-appearance . light)) ;; {light, dark}
  (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t)))

@takaxp
Copy link
Author

takaxp commented Sep 24, 2018

@freetonik
Copy link
Owner

Turns out this feature is disabled by default in emacsport https://github.com/railwaycat/homebrew-emacsmacport/wiki/Natural-Title-Bar And the pre-built binary I'm recommending in the README is built without --with-natural-title-bar option.

I will update the config and update the README accordingly.

Thank you.

@freetonik
Copy link
Owner

Forgot to close in commit message.

This closes the issue.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants