From a2ed2d9425c49837f7aa5e5a16e02edb680c4182 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Sun, 9 Oct 2022 23:28:22 -0700 Subject: [PATCH] Make Emacs frame slightly transparent --- thoom-emacs/ThoomEmacs.org | 6 +++++- thoom-emacs/init.el | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/thoom-emacs/ThoomEmacs.org b/thoom-emacs/ThoomEmacs.org index ef0f505..24bf4da 100644 --- a/thoom-emacs/ThoomEmacs.org +++ b/thoom-emacs/ThoomEmacs.org @@ -67,7 +67,11 @@ Emacs on macOS doesn't naturally find shell variables like PATH, so to help it o ;; Corrects (and improves) org-mode's native fontification. (doom-themes-org-config)) #+end_src - +** Transparency +#+begin_src emacs-lisp +(set-frame-parameter (selected-frame) 'alpha '(99 98)) +(add-to-list 'default-frame-alist '(alpha 99 98)) +#+end_src ** Hiding Clutter Disable a bunch of stuff we don't want to see. diff --git a/thoom-emacs/init.el b/thoom-emacs/init.el index 3926403..1662b43 100644 --- a/thoom-emacs/init.el +++ b/thoom-emacs/init.el @@ -51,6 +51,9 @@ ;; Corrects (and improves) org-mode's native fontification. (doom-themes-org-config)) +(set-frame-parameter (selected-frame) 'alpha '(99 98)) +(add-to-list 'default-frame-alist '(alpha 99 98)) + (setq inhibit-startup-message t use-dialog-box nil)