From 2f261d62bc3e7a00c50fca64ed71e133f4700636 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Wed, 23 Dec 2020 16:40:45 -0800 Subject: Tasteful transparency. --- smart-documents.org | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/smart-documents.org b/smart-documents.org index 5db620f..80b6e77 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -304,15 +304,13 @@ We also set the dimensions of subsequent frames: (add-to-list 'default-frame-alist '(height . 30)) #+END_SRC -*** GNU/Linux - -These settings affect the first and subsequent frames spawned by Emacs -in GNU/Linux. Frame transparency increases when focus is lost. +Transparency. #+BEGIN_SRC emacs-lisp :tangle yes - (when (and (display-graphic-p) (string-equal system-type "gnu/linux")) - (set-frame-parameter (selected-frame) 'alpha '(90 . 50)) - (add-to-list 'default-frame-alist '(alpha . (90 . 50)))) + ;; (set-frame-parameter (selected-frame) 'alpha '( . )) + ;; (set-frame-parameter (selected-frame) 'alpha ) + (set-frame-parameter (selected-frame) 'alpha '(95 . 50)) + (add-to-list 'default-frame-alist '(alpha . (95 . 50))) #+END_SRC ** Secrets -- cgit v1.2.3