[Emacs] Automatically enable background transparency for new frames

This commit is contained in:
Lucien Cartier-Tilet 2021-11-18 20:16:30 +01:00
parent a800a292e2
commit a79b921915
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -317,7 +317,11 @@ Thanks to [[https://github.com/TheVaffel/emacs][this fork]] of Emacs, it is now
transparency to the background of Emacs only and not to the entire transparency to the background of Emacs only and not to the entire
frame. frame.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(set-frame-parameter (selected-frame) 'alpha-background 0.8) (add-hook 'server-after-make-frame-hook (lambda ()
(interactive)
(set-frame-parameter (selected-frame)
'alpha-background 0.9)))
#+end_src #+end_src
*** Modeline Modules *** Modeline Modules