]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
console settings
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Mon, 29 Jan 2024 10:37:02 +0000 (11:37 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 31 Jan 2024 17:50:58 +0000 (18:50 +0100)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index 913e6b3bc26f1a0a30923d553924f77a11ad9034..e365228eadfc72aa6690bb981c01b11af203942c 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -3209,6 +3209,16 @@ whole team. No matter what editor gets used.
   (editorconfig-mode '1)
 
 #+END_SRC
+
+* console mode
+[2024-01-29 Mon 11:12]
+
+#+begin_src emacs-lisp
+  (if (not (display-graphic-p))
+      (progn
+        (display-battery-mode 1)
+        (display-time-mode 1)))
+#+end_src
 * set theme bba1
 [[https://emacsfodder.github.io/emacs-theme-editor/][Emacs Theme Editor]] is a nice tool to define your colors.
 
@@ -3233,31 +3243,31 @@ whole team. No matter what editor gets used.
          ;;'(show-paren-match ((t (:inverse-video t))))
        '(show-paren-match ((t (:underline (:color "#07e30d" :style line)))))
        '(show-paren-mismatch ((t (:underline (:color "red" :style wave)))))
-         ;; '(show-paren-match ((t (:unterline (:color "#b8bb26" :style wave)))))
-         )
-        (let* ((variable-tuple (cond ((x-list-fonts "Arial") '(:font "Arial"))
-                                     ((x-list-fonts "Source Sans Pro") '(:font "Source Sans Pro"))
-                                     ((x-list-fonts "Lucida Grande")   '(:font "Lucida Grande"))
-                                     ((x-list-fonts "Verdana")         '(:font "Verdana"))
-                                     ((x-family-fonts "Sans Serif")    '(:family "Sans Serif"))
-                                     (nil (warn "Cannot find a Sans Serif Font.  Install Source Sans Pro."))))
-               (base-font-color     (face-foreground 'default nil 'default))
-               (headline           `(:inherit default :foreground "#62a9cd")))
-
-          (custom-theme-set-faces 'user
-                                  `(org-level-8 ((t (,@headline ,@variable-tuple))))
-                                  `(org-level-7 ((t (,@headline ,@variable-tuple))))
-                                  `(org-level-6 ((t (,@headline ,@variable-tuple))))
-                                  `(org-level-5 ((t (,@headline ,@variable-tuple))))
-                                  `(org-level-4 ((t (,@headline ,@variable-tuple :height 1.1))))
-                                  `(org-level-3 ((t (,@headline ,@variable-tuple :height 1.25))))
-                                  `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.4))))
-                                  `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.6))))
-                                  `(org-document-title ((t (,@headline ,@variable-tuple :height 1.5 :underline nil)))))
-          (custom-set-variables
-            '(ansi-color-names-vector
-              ["black" "red3" "green3" "yellow3" "LightSkyBlue1" "magenta3" "cyan3" "gray90"]))
-          )))
+        ;; '(show-paren-match ((t (:unterline (:color "#b8bb26" :style wave)))))
+        )
+       (let* ((variable-tuple (cond ((x-list-fonts "Arial") '(:font "Arial"))
+                                    ((x-list-fonts "Source Sans Pro") '(:font "Source Sans Pro"))
+                                    ((x-list-fonts "Lucida Grande")   '(:font "Lucida Grande"))
+                                    ((x-list-fonts "Verdana")         '(:font "Verdana"))
+                                    ((x-family-fonts "Sans Serif")    '(:family "Sans Serif"))
+                                    (nil (warn "Cannot find a Sans Serif Font.  Install Source Sans Pro."))))
+              (base-font-color     (face-foreground 'default nil 'default))
+              (headline           `(:inherit default :foreground "#62a9cd")))
+
+         (custom-theme-set-faces 'user
+                                 `(org-level-8 ((t (,@headline ,@variable-tuple))))
+                                 `(org-level-7 ((t (,@headline ,@variable-tuple))))
+                                 `(org-level-6 ((t (,@headline ,@variable-tuple))))
+                                 `(org-level-5 ((t (,@headline ,@variable-tuple))))
+                                 `(org-level-4 ((t (,@headline ,@variable-tuple :height 1.1))))
+                                 `(org-level-3 ((t (,@headline ,@variable-tuple :height 1.25))))
+                                 `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.4))))
+                                 `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.6))))
+                                 `(org-document-title ((t (,@headline ,@variable-tuple :height 1.5 :underline nil)))))
+         (custom-set-variables
+           '(ansi-color-names-vector
+             ["black" "red3" "green3" "yellow3" "LightSkyBlue1" "magenta3" "cyan3" "gray90"]))
+         )))
 
 
 #+end_src