Browse Source

Add default frame transparency + hotkey for themes

main
parent
commit
ff606b2d08
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 16
      README.org

16
README.org

@ -893,6 +893,7 @@ When Emacs is started, it normally tries to load a Lisp program from an ititiali
;; User interface. ;; User interface.
<<emacs-swiper-elisp>> <<emacs-swiper-elisp>>
<<emacs-transparency-elisp>>
<<emacs-doom-themes-elisp>> <<emacs-doom-themes-elisp>>
<<emacs-doom-modeline-elisp>> <<emacs-doom-modeline-elisp>>
#+END_SRC #+END_SRC
@ -2016,6 +2017,17 @@ Ivy (Swiper)[fn:64] is a generic completion mechanism for GNU/Emacs[fn:2]. While
(ivy-prescient-mode +1) (ivy-prescient-mode +1)
#+END_SRC #+END_SRC
** Transparency
It's possible to control the frame opacity in GNU/Emacs[fn:2]. Unlike other transparency hacks, it's not merely showing the desktop background image, but is true transparency -- you can se other windows behind the Emacs[fn:2] window.
#+NAME: emacs-transparency-elisp
#+BEGIN_SRC emacs-lisp
;; Configure the default frame transparency.
(set-frame-parameter (selected-frame) 'alpha '(95 . 95))
(add-to-list 'default-frame-alist '(alpha . (95 . 95)))
#+END_SRC
** Doom Themes ** Doom Themes
#+NAME: emacs-doom-themes-package #+NAME: emacs-doom-themes-package
@ -2034,6 +2046,10 @@ Doom Themes[fn:65] is a theme megapack for GNU/Emacs[fn:2], inspired by communit
;; Load the `doom-moonlight' theme. ;; Load the `doom-moonlight' theme.
(load-theme 'doom-moonlight t) (load-theme 'doom-moonlight t)
(doom-modeline-mode +1) (doom-modeline-mode +1)
;; Load a new theme with <SPC> t t.
(dotfiles/leader
"tt" '(counsel-load-theme :which-key "Theme"))
#+END_SRC #+END_SRC
** Doom Modeline ** Doom Modeline

Loading…
Cancel
Save