diff options
| -rw-r--r-- | .config/emacs/modules/bd--utility.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/emacs/modules/bd--utility.el b/.config/emacs/modules/bd--utility.el index 33e2285..1d80b65 100644 --- a/.config/emacs/modules/bd--utility.el +++ b/.config/emacs/modules/bd--utility.el @@ -7,10 +7,13 @@ (defun bd/set-frame-alpha (value) - "Set the transparency of the frame background to VALUE. 0=transparent/100=opaque." + "Set the transparency of ALL frame backgrounds to VALUE. 0=transparent/100=opaque." (interactive "nTransparency Value (50 - 100 opaque): ") (setq value (max 50 (min value 100))) (set-frame-parameter (selected-frame) 'alpha `(,value . ,value)) + (mapc (lambda (f) + (set-frame-parameter f 'alpha `(,value . ,value))) + (frame-list)) (message "Alpha set to %d" value)) (defun bd/set-bg (&optional arg) |
