update doom emacs configs

This commit is contained in:
Horhik 2021-04-11 20:49:55 +03:00
parent a155d1a585
commit fd59843d98
6 changed files with 36 additions and 21 deletions

View File

@ -100,7 +100,7 @@ padding:
# Font configuration
font:
size: 10
size: 12
normal:
family: Mononoki Nerd Font
style: Medium
@ -112,9 +112,6 @@ font:
style: Italic
# Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
offset:
# x: -1
y: -1
glyph_offset:
x: 0

View File

@ -31,7 +31,6 @@
;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads!
(setq org-directory "~/org/")
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
@ -39,10 +38,9 @@
(custom-set-variables
'(org-directory "~/Nextcloud")
'(org-agenda-files (list org-directory))
'(org-directory "~/KB")
'(org-agenda-files (list org-directory)))
)
;; Here are some additional functions/macros that could help you configure Doom:
;;
;; - `load!' for loading external *.el files relative to this one
@ -64,15 +62,10 @@
(use-package emojify
:hook (after-init . global-emojify-mode))
(add-to-list 'load-path "~/.emacs.d/manual-addons")
;; !!! это надо делать в конце файла, иначе модули перетирают настройки метода ввода
(if (eq system-type 'darwin)
(setq russian-input-method "russian-no-windows")
(setq russian-input-method "russian-computer"))
(setq-default default-input-method russian-input-method)
(setq default-input-method russian-input-method)
(set-input-method russian-input-method)
(global-set-key (kbd "M-SPC") 'toggle-input-method)
(define-key isearch-mode-map (kbd "M-SPC") 'toggle-input-method)
(use-package org-notifications
:hook (after-init . org-notifications-start)
)
(setq org-timer-default-timer 25)

View File

@ -12,9 +12,12 @@
'(jdee-db-spec-breakpoint-face-colors (cons "#0d1011" "#928374"))
'(objed-cursor-color "#fb4934")
'(org-agenda-files (list org-directory))
'(org-directory "~/Nextcloud")
'(org-directory "~/KB")
'(org-manage-directory-org "~/KB")
'(org-roam-complete-everywhere t)
'(org-roam-directory "~/KB/B-roam")
'(package-selected-packages
'(org-evil emojify-logos linum-relative evil-mc lsp-mode rustic company racer gruvbox-theme neotree rust-mode))
'(org-mind-map ctable nroam org-roam with-editor transient org-alert org-notifications org-evil emojify-logos linum-relative evil-mc lsp-mode rustic company racer gruvbox-theme neotree rust-mode))
'(rustic-ansi-faces
["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"])
'(vc-annotate-background "#282828")
@ -47,3 +50,13 @@
'(default ((t (:family "Mononoki Nerd Font" :size 12 :weight regular))))
'(neo-dir-link-face ((t (:family "Mononoki Nerd Font" :size 12 :weight regular))))
'(neo-file-link-face ((t (:family "Mononoki Nerd Font" :size 12 :weight regular)))))
(defun writeFile (name content)
(with-open-file (stream name
:direction :output
:if-exists :overwrite
:if-does-not-exist :create)
(format stream content)))
(writeFile "/tmp/timer" "Test...")

View File

@ -40,7 +40,17 @@
;; Use `:pin' to specify a particular commit to install.
;(package! builtin-package :pin "1a2b3c4d5e")
(package! org-alert)
(package! org-roam)
(package! org-roam-server)
(package! org-manage :recipe
(:host github
:repo "dmgerman/org-manage"
:files ("*.el" "src/lisp/*.el")))
(package! org-notifications :recipe
(:host github
:repo "doppelc/org-notifications"
:files ("*.el" "src/lisp/*.el")))
;; Doom's packages are pinned to a specific commit and updated from release to
;; release. The `unpin!' macro allows you to unpin single packages...
;(unpin! pinned-package)

View File

@ -1,3 +1,4 @@
file:///home/horhik/KB
file:///home/horhik/.config/eww
file:///home/horhik/Documents/Icons/Notion%20Icons%203.0
file:///usr/share/icons/Papirus-Dark/96x96

View File

@ -108,6 +108,7 @@ source $ZSH/oh-my-zsh.sh
export PATH=$HOME/.local/bin:$PATH
export PATH=/usr/local/bin:$PATH
export PATH=$HOME/.cargo/bin:$PATH
export PATH=$HOME/.emacs.d/bin:$PATH
export PATH=$HOME/Desktop:$PATH
export PATH=/home/horhik/code/projects/potato-notify:$PATH
export PATH="/root/.deno/bin:$PATH"