💄 (ui) Use "new" alpha-background property

This commit is contained in:
Marcel Kapfer 2024-05-28 17:00:33 +02:00
parent 9576da4b3e
commit 28f859b6e8
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -552,10 +552,10 @@ Installing and enabling ef-themes.
Add a slight transparency to the frames. Code provided by David Wilson / System Crafters [[https://github.com/daviwil/emacs-from-scratch/blob/master/Emacs.org][Emacs from Scratch]] video series.
#+begin_src emacs-lisp
(setq mmk2410/frame-transparency '(95 . 95))
(setq mmk2410/alpha-background 95)
(set-frame-parameter (selected-frame) 'alpha mmk2410/frame-transparency)
(add-to-list 'default-frame-alist `(alpha . ,mmk2410/frame-transparency))
(set-frame-parameter nil 'alpha-background mmk2410/alpha-background)
(add-to-list 'default-frame-alist `(alpha-background . ,mmk2410/alpha-background))
#+end_src
** Switch theme