summaryrefslogtreecommitdiff
path: root/smart-documents.org
diff options
context:
space:
mode:
authorMarius Peter <blendoit@gmail.com>2020-12-23 16:40:45 -0800
committerMarius Peter <blendoit@gmail.com>2020-12-23 16:40:45 -0800
commit2f261d62bc3e7a00c50fca64ed71e133f4700636 (patch)
treee8c209fd36171d49cd26f37bd6d3cf877b5545a5 /smart-documents.org
parent1012311f09440edb66b377ef16ec108ccd16e378 (diff)
Tasteful transparency.
Diffstat (limited to 'smart-documents.org')
-rw-r--r--smart-documents.org12
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
Copyright 2019--2024 Marius PETER