Set frame-alpha using hook so it's not applied to popups

This commit is contained in:
Evie Litherland-Smith 2023-10-27 11:54:51 +01:00
parent a06ab54e64
commit ce5dd998e2

View file

@ -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