Compare commits
5 commits
3a602964ab
...
6933595b62
| Author | SHA1 | Date | |
|---|---|---|---|
| 6933595b62 | |||
| 9942ce62ab | |||
| d8f21e1936 | |||
| 7fc036f01c | |||
| 4c6efa5539 |
1 changed files with 20 additions and 16 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
;; -*- lexical-binding: t; -*-
|
;;; config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;;; Fix non-POSIX SHELL
|
;;; Fix non-POSIX SHELL
|
||||||
(setq shell-file-name
|
(setq shell-file-name
|
||||||
|
|
@ -8,32 +8,36 @@
|
||||||
fish-exe)
|
fish-exe)
|
||||||
(setq-default explicit-shell-file-name
|
(setq-default explicit-shell-file-name
|
||||||
fish-exe))
|
fish-exe))
|
||||||
|
|
||||||
(setq doom-font (font-spec
|
(setq doom-font (font-spec
|
||||||
:family "Maple Mono NF CN"
|
:family "Maple Mono NF CN"
|
||||||
:size 18)
|
:size 20))
|
||||||
doom-variable-pitch-font (font-spec
|
|
||||||
:family "Source Han Serif SC"
|
|
||||||
:size 17)
|
|
||||||
doom-emoji-font (font-spec
|
|
||||||
:family "Noto Color Emoji")
|
|
||||||
doom-symbol-font (font-spec
|
|
||||||
:family "Maple Mono NF CN"
|
|
||||||
:size 18)
|
|
||||||
doom-serif-font (font-spec
|
|
||||||
:family "Libertinus Serif"
|
|
||||||
:size 17)
|
|
||||||
doom-big-font (font-spec
|
|
||||||
:family "Maple Mono NF CN"))
|
|
||||||
(setq doom-theme 'doom-gruvbox)
|
(setq doom-theme 'doom-gruvbox)
|
||||||
;;; Fix failure to loacate 'Symbols Nerd Font Mono' font
|
;;; Fix failure to loacate 'Symbols Nerd Font Mono' font
|
||||||
(setq nerd-icons-font-family "Maple Mono NF CN")
|
(setq nerd-icons-font-family "Maple Mono NF CN")
|
||||||
|
|
||||||
|
(setq telega-emoji-use-images
|
||||||
|
nil)
|
||||||
|
|
||||||
(map! :map global-map
|
(map! :map global-map
|
||||||
"C-c t"
|
"C-c t"
|
||||||
telega-prefix-map)
|
telega-prefix-map)
|
||||||
|
|
||||||
(setq display-line-numbers-type
|
(setq display-line-numbers-type
|
||||||
'relative)
|
'visual)
|
||||||
|
|
||||||
(add-hook 'telega-load-hook
|
(add-hook 'telega-load-hook
|
||||||
'telega-notifications-mode)
|
'telega-notifications-mode)
|
||||||
|
|
||||||
|
(defvar my/emacs-deps-exec-path (seq-filter
|
||||||
|
(lambda (p)
|
||||||
|
(string-match-p
|
||||||
|
"/nix/store/.*-emacs-packages-deps/bin"
|
||||||
|
p))
|
||||||
|
exec-path))
|
||||||
|
|
||||||
|
(advice-add #'envrc--update
|
||||||
|
:after #'(lambda ()
|
||||||
|
(setq exec-path
|
||||||
|
(append exec-path
|
||||||
|
my/emacs-deps-exec-path))))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue