From c8863880eed51c2fbf10a7f8bbadccffcef877ec Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Mon, 29 Jan 2024 11:37:02 +0100 Subject: [PATCH] console settings Signed-off-by: Andreas Gerler --- bba.org | 60 +++++++++++++++++++++++++++++++++------------------------ 1 file changed, 35 insertions(+), 25 deletions(-) diff --git a/bba.org b/bba.org index 913e6b3b..e365228e 100644 --- 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 -- 2.47.3