Compare commits
No commits in common. "6933595b62085d259e622b8f8bd9d40bb93ee838" and "3a602964ab668b094d1fe992bd00a9bcb2aa544a" have entirely different histories.
6933595b62
...
3a602964ab
1 changed files with 16 additions and 20 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
;;; config.el -*- lexical-binding: t; -*-
|
;; -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;;; Fix non-POSIX SHELL
|
;;; Fix non-POSIX SHELL
|
||||||
(setq shell-file-name
|
(setq shell-file-name
|
||||||
|
|
@ -8,36 +8,32 @@
|
||||||
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 20))
|
: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"))
|
||||||
(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
|
||||||
'visual)
|
'relative)
|
||||||
|
|
||||||
(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