feat: emacs transperancy! (and matching polybar)

This commit is contained in:
Flinner 2022-03-11 23:48:31 +03:00
parent ce981c9e1b
commit db2a8899b0
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
2 changed files with 10 additions and 1 deletions

View File

@ -186,6 +186,15 @@ Actuall Theme:
(doom-themes-org-config))
#+end_src
Transperancy!
#+begin_src emacs-lisp
;; for the first frame
(set-frame-parameter nil 'alpha-background 0.9)
;; for other frames
(add-hook 'server-after-make-frame-hook
(lambda nil (set-frame-parameter nil 'alpha-background 0.9)))
#+end_src
#+begin_src emacs-lisp
(use-package olivetti
:diminish

View File

@ -209,7 +209,7 @@ opacity-rule = [
"100:class_g = 'Alacritty'",
"100:class_g = 'Wezterm'",
"99:class_g = 'Emacs'",
"95:class_g = 'Polybar'",
"90:class_g = 'Polybar'",
"100:class_g = 'code-oss'",
"100:class_g = 'Meld'",
"100:class_g = 'TelegramDesktop'",