Compare commits

...

5 commits

View file

@ -1,4 +1,4 @@
;; -*- lexical-binding: t; -*-
;;; config.el -*- lexical-binding: t; -*-
;;; Fix non-POSIX SHELL
(setq shell-file-name
@ -8,32 +8,36 @@
fish-exe)
(setq-default explicit-shell-file-name
fish-exe))
(setq doom-font (font-spec
:family "Maple Mono NF CN"
:size 18)
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"))
:size 20))
(setq doom-theme 'doom-gruvbox)
;;; Fix failure to loacate 'Symbols Nerd Font Mono' font
(setq nerd-icons-font-family "Maple Mono NF CN")
(setq telega-emoji-use-images
nil)
(map! :map global-map
"C-c t"
telega-prefix-map)
(setq display-line-numbers-type
'relative)
'visual)
(add-hook 'telega-load-hook
'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))))