Compare commits
2 commits
3817c2ab7d
...
75a0bd7fa9
Author | SHA1 | Date | |
---|---|---|---|
|
75a0bd7fa9 | ||
|
b48f70201a |
7 changed files with 77 additions and 25 deletions
|
@ -1,27 +1,5 @@
|
|||
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;; VISUALS
|
||||
|
||||
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
|
||||
;; are the three important ones:
|
||||
;;
|
||||
;; + `doom-font'
|
||||
;; + `doom-variable-pitch-font'
|
||||
;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
|
||||
;; presentations or streaming.
|
||||
;;
|
||||
;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd
|
||||
;; font string. You generally only need these two:
|
||||
;; (setq doom-font (font-spec :family "monospace" :size 12 :weight 'semi-light)
|
||||
;; doom-variable-pitch-font (font-spec :family "sans" :size 13))
|
||||
|
||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||
;; `load-theme' function. This is the default:
|
||||
(setq doom-theme (if (equal (getenv "THEME") "light") 'doom-opera-light 'doom-one)
|
||||
doom-font (font-spec :family "monospace" :size 24 :weight 'semi-light)
|
||||
doom-variable-pitch-font (font-spec :family "sans" :size 24))
|
||||
|
||||
(defun load-theme-string (theme)
|
||||
(if (-contains? (custom-available-themes) (intern theme)) (load-theme (intern theme))))
|
||||
(defun toggle-theme (&optional suffix)
|
||||
|
@ -221,6 +199,7 @@ Version 2019-11-04 2021-02-16"
|
|||
|
||||
(load! "./user.el" nil t)
|
||||
(load! "./local.el" nil t)
|
||||
(load! "./theme.el" nil t)
|
||||
|
||||
(setq backup-directory-alist (list (cons "." (concat doom-cache-dir "backup/")))
|
||||
custom-emacs-data-dir (expand-file-name "data" doom-private-dir))
|
||||
|
@ -926,8 +905,13 @@ Version 2019-11-04 2021-02-16"
|
|||
plantuml-indent-level 4
|
||||
)
|
||||
(after! org
|
||||
(org-babel-do-load-languages 'org-babel-load-languages '((plantuml . t)))
|
||||
(org-babel-do-load-languages 'org-babel-load-languages
|
||||
'((plantuml . t)))
|
||||
)
|
||||
|
||||
(add-hook 'plantuml-mode-hook
|
||||
(lambda () (setq-local compile-command (format "plantuml %s" (shell-quote-argument buffer-file-name)))))
|
||||
|
||||
)
|
||||
|
||||
(use-package vc-fossil
|
||||
|
|
1
.config/doom/theme.el
Symbolic link
1
.config/doom/theme.el
Symbolic link
|
@ -0,0 +1 @@
|
|||
theme.el##default
|
24
.config/doom/theme.el##default
Normal file
24
.config/doom/theme.el##default
Normal file
|
@ -0,0 +1,24 @@
|
|||
;;; theme.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;; VISUALS
|
||||
|
||||
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
|
||||
;; are the three important ones:
|
||||
;;
|
||||
;; + `doom-font'
|
||||
;; + `doom-variable-pitch-font'
|
||||
;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
|
||||
;; presentations or streaming.
|
||||
;;
|
||||
;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd
|
||||
;; font string. You generally only need these two:
|
||||
;; (setq doom-font (font-spec :family "monospace" :size 12 :weight 'semi-light)
|
||||
;; doom-variable-pitch-font (font-spec :family "sans" :size 13))
|
||||
|
||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||
;; `load-theme' function. This is the default:
|
||||
|
||||
(setq doom-theme (if (equal (getenv "THEME") "light") 'doom-opera-light 'doom-one)
|
||||
doom-font (font-spec :family "monospace" :size 16 :weight 'semi-light)
|
||||
doom-variable-pitch-font (font-spec :family "sans" :size 16))
|
23
.config/doom/theme.el##hostname.elephant
Normal file
23
.config/doom/theme.el##hostname.elephant
Normal file
|
@ -0,0 +1,23 @@
|
|||
;;; theme.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;; VISUALS
|
||||
|
||||
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
|
||||
;; are the three important ones:
|
||||
;;
|
||||
;; + `doom-font'
|
||||
;; + `doom-variable-pitch-font'
|
||||
;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
|
||||
;; presentations or streaming.
|
||||
;;
|
||||
;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd
|
||||
;; font string. You generally only need these two:
|
||||
;; (setq doom-font (font-spec :family "monospace" :size 12 :weight 'semi-light)
|
||||
;; doom-variable-pitch-font (font-spec :family "sans" :size 13))
|
||||
|
||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||
;; `load-theme' function. This is the default:
|
||||
(setq doom-theme (if (equal (getenv "THEME") "light") 'doom-opera-light 'doom-one)
|
||||
doom-font (font-spec :family "monospace" :size 24 :weight 'semi-light)
|
||||
doom-variable-pitch-font (font-spec :family "sans" :size 24))
|
1
.config/doom/user.el##user.janekf
Symbolic link
1
.config/doom/user.el##user.janekf
Symbolic link
|
@ -0,0 +1 @@
|
|||
user.el##user.janek
|
|
@ -5,14 +5,13 @@ colors:
|
|||
title: blue
|
||||
default_hour: 0
|
||||
default_minute: 0
|
||||
editor: /home/janek/.local/bin/scripts/emacstty +99999
|
||||
editor: /home/janekf/.local/bin/scripts/emacstty +99999
|
||||
encrypt: false
|
||||
highlight: true
|
||||
indent_character: '|'
|
||||
journals:
|
||||
default: ~/data/2-box/journal/jrnl.txt
|
||||
intentions: ~/data/2-box/journal/intentions.txt
|
||||
intentions-nug: ~/data/2-box/journal/intentions-nug.txt
|
||||
nug: ~/data/2-box/journal/nugnug.txt
|
||||
linewrap: 99
|
||||
tagsymbols: '@'
|
||||
|
|
20
.config/jrnl/jrnl.yaml##template
Normal file
20
.config/jrnl/jrnl.yaml##template
Normal file
|
@ -0,0 +1,20 @@
|
|||
colors:
|
||||
body: none
|
||||
date: green
|
||||
tags: yellow
|
||||
title: blue
|
||||
default_hour: 0
|
||||
default_minute: 0
|
||||
editor: {{ env.HOME }}/.local/bin/scripts/emacstty +99999
|
||||
encrypt: false
|
||||
highlight: true
|
||||
indent_character: '|'
|
||||
journals:
|
||||
default: ~/data/2-box/journal/jrnl.txt
|
||||
intentions: ~/data/2-box/journal/intentions.txt
|
||||
nug: ~/data/2-box/journal/nugnug.txt
|
||||
linewrap: 99
|
||||
tagsymbols: '@'
|
||||
template: false
|
||||
timeformat: '%Y-%m-%d %a %H:%M'
|
||||
version: v2.8.4
|
Loading…
Add table
Reference in a new issue