(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.
;;'(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