summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-10-09 16:06:01 +0300
committerThanosApollo <[email protected]>2022-10-09 16:06:01 +0300
commit3be07cdefdb4812ac43351d2d2197e630f18a277 (patch)
tree8256970fdce10983a32b64334612218c211ecc92
parent2ae54c6c90fe3226eb0877fff28c28223f00b5d2 (diff)
Add doom-font, org modifications and theme
-rw-r--r--.config/doom/config.el71
1 files changed, 61 insertions, 10 deletions
diff --git a/.config/doom/config.el b/.config/doom/config.el
index 7001fbf..6c7040b 100644
--- a/.config/doom/config.el
+++ b/.config/doom/config.el
@@ -19,23 +19,27 @@
;; See 'C-h v doom-font' for documentation and more examples of what they
;; accept. For example:
;;
+(setq doom-font (font-spec :family "JetBrains Mono" :size 13)
+ doom-variable-pitch-font (font-spec :family "Ubuntu" :size 15)
+ doom-big-font (font-spec :family "JetBrains Mono" :size 24))
+(after! doom-themes
+ (setq doom-themes-enable-bold t
+ doom-themes-enable-italic t))
+(custom-set-faces!
+ '(font-lock-comment-face :slant italic)
+ '(font-lock-keyword-face :slant italic))
-;; (setq doom-font (font-spec :family "mono" :size 12 :weight 'semi-light)
-;; doom-variable-pitch-font (font-spec :family "mono") ; inherits `doom-font''s :size
-;; doom-unicode-font (font-spec :family "Input Mono Narrow" :size 12)
-;; doom-big-font (font-spec :family "Mono" :size 19))
;; ;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
;; refresh your font settings. If Emacs still can't find your font, it likely
;; wasn't installed correctly. Font issues are rarely Doom issues!
-
;; 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 'doom-vibrant)
+(setq doom-theme 'doom-one)
-;;(setq modus-themes-mode-line '(accented boarderless))
-;;(setq modus-themes-region '(bg-only))
+(setq modus-themes-mode-line '(accented boarderless))
+(setq modus-themes-region '(bg-only))
;(load-theme 'modus-vivendi t)
@@ -113,8 +117,7 @@
"m" 'dired-mark
))
-(defvar my-linum-current-line-number 0)
-
+(defvar my-linum-current-line-number)
(setq linum-format 'my-linum-relative-line-numbers)
(defun my-linum-relative-line-numbers (line-number)
@@ -247,3 +250,51 @@
(setq-default flycheck-disabled-checkers
(append flycheck-disabled-checkers
'(javascript-jshint json-jsonlist)))
+
+(after! org
+ (setq org-directory "~/nc/Org/"
+ org-agenda-files '("~/nc/Org/agenda.org")
+ org-default-notes-file (expand-file-name "notes.org" org-directory)
+ org-ellipsis " ▼ "
+ org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆")
+ org-superstar-itembullet-alist '((?+ . ?➤) (?- . ?✦)) ; changes +/- symbols in item lists
+ org-log-done 'time
+ org-hide-emphasis-markers t
+ ;; ex. of org-link-abbrev-alist in action
+ ;; [[arch-wiki:Name_of_Page][Description]]
+ org-link-abbrev-alist ; This overwrites the default Doom org-link-abbrev-list
+ '(("google" . "http://www.google.com/search?q=")
+ ("arch-wiki" . "https://wiki.archlinux.org/index.php/")
+ ("ddg" . "https://duckduckgo.com/?q=")
+ ("wiki" . "https://en.wikipedia.org/wiki/"))
+ org-table-convert-region-max-lines 20000
+ org-todo-keywords ; This overwrites the default Doom org-todo-keywords
+ '((sequence
+ "TODO(t)" ; A task that is ready to be tackled
+ "BLOG(b)" ; Blog writing assignments
+ "GYM(g)" ; Things to accomplish at the gym
+ "PROJ(p)" ; A project that contains other tasks
+ "VIDEO(v)" ; Video assignments
+ "WAIT(w)" ; Something is holding up this task
+ "|" ; The pipe necessary to separate "active" states and "inactive" states
+ "DONE(d)" ; Task has been completed
+ "CANCELLED(c)" )))) ; Task has been cancelled
+
+(defun apollo/org-colors-primary ()
+ "My custom org colors"
+ (interactive)
+ (dolist
+ (face
+ '((org-level-1 1.70 "#51afef" ultra-bold)
+ (org-level-2 1.55 "#51afef" extra-bold)
+ (org-level-3 1.40 "#da8548" bold)
+ (org-level-4 1.20 "#da8548" semi-bold)
+ (org-level-5 1.20 "#5699af" normal)
+ (org-level-6 1.20 "#a9a1e1" normal)
+ (org-level-7 1.10 "#46d9ff" normal)
+ (org-level-8 1.00 "#ff6c6b" normal)))
+ (set-face-attribute (nth 0 face) nil :font doom-font :height (nth 1 face) :foreground (nth 2 face)))
+ (set-face-attribute 'org-table nil :font doom-font :weight 'normal :height 1.0 :foreground "#A66CFF"
+ ))
+
+(apollo/org-colors-primary)