Add transparency funktion

This commit is contained in:
Marcus Kammer 2021-04-30 07:50:32 +02:00
parent 2c20e1909f
commit 813b626aef

View file

@ -85,3 +85,9 @@
minor-mode-alist
mode-line-end-spaces "%-"
)))
;; Set transparency of emacs
(defun transparency (value)
"Sets the transparency of the frame window. 0=transparent/100=opaque"
(interactive "nTransparency Value 0 - 100 opaque:")
(set-frame-parameter (selected-frame) 'alpha value))