]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
set font for all frames
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Sat, 15 Jun 2024 09:56:18 +0000 (11:56 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Sat, 15 Jun 2024 09:56:18 +0000 (11:56 +0200)
* bba.org: use a different font size in the office.

Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index fb583623f4c0324cdbf56533f0221e9dd51e9fda..7ab60a302b54ff4fa2c61df43ba15cf8ea6e48e5 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -3318,7 +3318,9 @@ https://github.com/IBM/plex/releases
 
 #+BEGIN_SRC emacs-lisp
   (if (string-equal system-type "darwin")
-    (set-frame-font "IBM Plex Mono 15"))
+      (if (eql 203 (aref (car (cdr (network-interface-info '"en0"))) 2))
+          (set-frame-font "IBM Plex Mono 12" nil 't)
+        (set-frame-font "IBM Plex Mono 15" nil 't)))
 #+END_SRC
 
 * dns-mode