GitHub - larrasket/emacs-liquid-glass: Liquid Glass effect for GNU/Emacs · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
larrasket
emacs-liquid-glass
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
master
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>3 Commits<br>3 Commits
cmd
cmd
config
config
lisp
lisp
patches
patches
LICENSE
LICENSE
README.org
README.org
install.sh
install.sh
screenshot.png
screenshot.png
View all files
Repository files navigation
This repo is a small recipe for building Emacs with a Ghostty-like macOS glass frame: background-opacity = 0.01 with a native NSGlassEffectView material. For more information, read the blog post.
It assumes emacs-plus@31 from Homebrew on macOS, because the setup<br>layers a local patch on top of the community frame-transparency patch.
Quick Start
Then install from your tap:
brew tap larrasket/emacs-liquid-glass<br>brew emacs-liquid-glass install
Without copying the rebuilt app bundle into /Applications:
brew emacs-liquid-glass install --no-copy-app
Direct clone usage also works:
git clone https://github.com/larrasket/emacs-liquid-glass<br>cd emacs-liquid-glass<br>./install.sh
Use ./install.sh --no-copy-app if you do not want it to update<br>/Applications/Emacs.app.
Build
Copy the patch and build config:<br>mkdir -p ~/.config/emacs-plus<br>cp patches/ns-glass-effect.patch ~/.config/emacs-plus/ns-glass-effect.patch<br>cp config/build.yml ~/.config/emacs-plus/build.yml
Build Emacs from source:
brew tap d12frosted/emacs-plus<br>HOMEBREW_NO_AUTO_UPDATE=1 brew reinstall emacs-plus@31 --build-from-source<br>brew postinstall d12frosted/emacs-plus/emacs-plus@31
Update the app bundle used by /opt/homebrew/bin/emacs:
rsync -a --delete /opt/homebrew/opt/emacs-plus@31/Emacs.app/ /Applications/Emacs.app/<br>rsync -a --delete "/opt/homebrew/opt/emacs-plus@31/Emacs Client.app/" "/Applications/Emacs Client.app/"
Emacs Config
Load lisp/lr-macos-glass.el from your config, or copy the<br>relevant parts into configuration.<br>The regular preset uses:
(setq salih/alpha-background 0.01<br>salih/ns-background-blur 0<br>salih/ns-glass-material 'regular<br>salih/ns-glass-tint-opacity 0.05<br>salih/ns-glass-saturation 1.4<br>salih/ns-glass-inactive-opacity 0.05<br>salih/ns-glass-corner-radius 2<br>salih/ns-transparent-titlebar t)
I have not tested this configuration outside of Doom Emacs, expect the need for modifications.
About
Liquid Glass effect for GNU/Emacs
lr0.org/blog/p/emacs-apple-glass/
Topics
emacs
liquid-glass
Resources
Readme
License
GPL-3.0 license
Uh oh!
There was an error while loading. Please reload this page.
Activity
Stars
star
Watchers
watching
Forks
forks
Report repository
Releases
No releases published
Packages
Uh oh!
There was an error while loading. Please reload this page.
Contributors
Uh oh!
There was an error while loading. Please reload this page.
Languages
Emacs Lisp<br>74.8%
Shell<br>25.2%
You can’t perform that action at this time.