From db2a8899b044c34ce35b7efb8d3a7d4b3f8f5a36 Mon Sep 17 00:00:00 2001 From: Flinner Date: Fri, 11 Mar 2022 23:48:31 +0300 Subject: [PATCH] feat: emacs transperancy! (and matching polybar) --- emacs.mine/.config/emacs.mine/emacs.org | 9 +++++++++ picom/.config/picom.conf | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/emacs.mine/.config/emacs.mine/emacs.org b/emacs.mine/.config/emacs.mine/emacs.org index 1eca44b..77f6b3d 100644 --- a/emacs.mine/.config/emacs.mine/emacs.org +++ b/emacs.mine/.config/emacs.mine/emacs.org @@ -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 diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf index 7db30ae..3e62b39 100644 --- a/picom/.config/picom.conf +++ b/picom/.config/picom.conf @@ -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'",