From ce5dd998e23967dd24712e3760272942c85c37e9 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 27 Oct 2023 11:54:51 +0100 Subject: [PATCH] Set frame-alpha using hook so it's not applied to popups --- home/emacs/modules/custom-ui-config.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/emacs/modules/custom-ui-config.el b/home/emacs/modules/custom-ui-config.el index d2f54ad1..d61c1175 100644 --- a/home/emacs/modules/custom-ui-config.el +++ b/home/emacs/modules/custom-ui-config.el @@ -36,13 +36,15 @@ " HHH HHHHHH \n" " HHHHH HH \n")) +(defun my/set-frame-alpha () (set-frame-parameter nil 'alpha-background 80)) + (tool-bar-mode -1) (scroll-bar-mode -1) (add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font-12")) (global-prettify-symbols-mode +1) (global-word-wrap-whitespace-mode +1) (set-frame-parameter nil 'alpha-background 80) -;; (add-to-list 'default-frame-alist '(alpha-background . 80)) +(add-hook 'server-after-make-frame-hook (lambda () (set-frame-parameter nil 'alpha-background 80))) (when (require 'doom-themes nil :noerror) (load-theme 'doom-tokyo-night t)) ;; Dashboard