diff options
author | Marius Peter <blendoit@gmail.com> | 2020-12-23 16:40:45 -0800 |
---|---|---|
committer | Marius Peter <blendoit@gmail.com> | 2020-12-23 16:40:45 -0800 |
commit | 2f261d62bc3e7a00c50fca64ed71e133f4700636 (patch) | |
tree | e8c209fd36171d49cd26f37bd6d3cf877b5545a5 | |
parent | 1012311f09440edb66b377ef16ec108ccd16e378 (diff) |
Tasteful transparency.
-rw-r--r-- | smart-documents.org | 12 |
1 files 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 '(<active> . <inactive>)) + ;; (set-frame-parameter (selected-frame) 'alpha <both>) + (set-frame-parameter (selected-frame) 'alpha '(95 . 50)) + (add-to-list 'default-frame-alist '(alpha . (95 . 50))) #+END_SRC ** Secrets |