From 0e0ac0237c312e6b40b5e999c72fb56a8a9f39ac Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sat, 6 Jan 2024 23:07:03 +0800 Subject: [PATCH] feat: emacs(gui) - tranparent backgroud --- home/base/desktop/editors/emacs/doom/config.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/base/desktop/editors/emacs/doom/config.el b/home/base/desktop/editors/emacs/doom/config.el index 15d1e629..a5afb738 100644 --- a/home/base/desktop/editors/emacs/doom/config.el +++ b/home/base/desktop/editors/emacs/doom/config.el @@ -46,6 +46,9 @@ ;; other doom's official themes: ;; https://github.com/doomemacs/themes (setq doom-theme 'doom-dracula) ;; doom-one doom-dracula doom-nord +;; Transparent Background +(set-frame-parameter nil 'alpha-background 93) ; For current frame +(add-to-list 'default-frame-alist '(alpha-background . 93)); For all new frames henceforth ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'. (setq display-line-numbers-type t)