Improve transparency for only do transparent to the background.

This commit is contained in:
kj 2023-04-26 20:49:35 -04:00
parent 8e9a3fc301
commit fc9e1bf17e
2 changed files with 2 additions and 3 deletions

View File

@ -81,8 +81,7 @@
tags-revert-without-query 1 ; Recargar tags (ctags) sin pedir confirmación.
)
;; Leve transparencia en emacs por defecto.
(set-frame-parameter (selected-frame) 'alpha '(99 . 99))
(add-to-list 'default-frame-alist '(alpha . (99 . 99)))
(set-frame-parameter nil 'alpha-background 99)
;; Backups enabled, use nil to disable
(setq

View File

@ -13,7 +13,7 @@
(defun transparency (value)
"Change the transparency of the frame window, setting VALUE from 0 to 100."
(interactive "nTransparency Value 0 - 100 opaque:")
(set-frame-parameter (selected-frame) 'alpha value))
(set-frame-parameter nil 'alpha-background value))
;; Crear captura SVG del frame atual. Fuente: https://www.reddit.com/r/emacs/comments/idz35e/emacs_27_can_take_svg_screenshots_of_itself/
(defun screenshot-svg ()