💄 (ui) Use "new" alpha-background property
This commit is contained in:
parent
9576da4b3e
commit
28f859b6e8
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
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
|
#+begin_src emacs-lisp
|
||||||
(setq mmk2410/frame-transparency '(95 . 95))
|
(setq mmk2410/alpha-background 95)
|
||||||
|
|
||||||
(set-frame-parameter (selected-frame) 'alpha mmk2410/frame-transparency)
|
(set-frame-parameter nil 'alpha-background mmk2410/alpha-background)
|
||||||
(add-to-list 'default-frame-alist `(alpha . ,mmk2410/frame-transparency))
|
(add-to-list 'default-frame-alist `(alpha-background . ,mmk2410/alpha-background))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Switch theme
|
** Switch theme
|
||||||
|
|
Loading…
Reference in a new issue