[Emacs] Automatically enable background transparency for new frames
This commit is contained in:
parent
a800a292e2
commit
a79b921915
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user