Add trasaparency to emacs by default :).
This commit is contained in:
parent
adb2034d24
commit
b5de8f34b3
@ -7,6 +7,12 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
;; Permite cambiar la transparencia de emacs.
|
||||||
|
(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))
|
||||||
|
|
||||||
;; Crear captura SVG del frame atual. Fuente: https://www.reddit.com/r/emacs/comments/idz35e/emacs_27_can_take_svg_screenshots_of_itself/
|
;; 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 ()
|
(defun screenshot-svg ()
|
||||||
"Save a screenshot of the current frame as an SVG image.
|
"Save a screenshot of the current frame as an SVG image.
|
||||||
|
@ -97,6 +97,9 @@
|
|||||||
global-hl-line-mode 1 ; Resaltar línea actual por defecto.
|
global-hl-line-mode 1 ; Resaltar línea actual por defecto.
|
||||||
tags-revert-without-query 1 ; Recargar tags (ctags) sin pedir confirmación.
|
tags-revert-without-query 1 ; Recargar tags (ctags) sin pedir confirmación.
|
||||||
)
|
)
|
||||||
|
;; Leve transparencia en emacs por defecto.
|
||||||
|
(set-frame-parameter (selected-frame) 'alpha '(98 . 98))
|
||||||
|
(add-to-list 'default-frame-alist '(alpha . (98 . 98)))
|
||||||
|
|
||||||
;; Backups enabled, use nil to disable
|
;; Backups enabled, use nil to disable
|
||||||
(setq
|
(setq
|
||||||
|
Loading…
Reference in New Issue
Block a user