nixos/home/david/modules/programs/doom/config/config.el

31 lines
745 B
EmacsLisp
Raw Normal View History

2025-08-25 14:12:57 +08:00
;;; config.el -*- lexical-binding: t; -*-
;;; Fix non-POSIX SHELL
(setq shell-file-name
(executable-find "bash"))
(let ((fish-exe (executable-find "fish")))
(setq-default vterm-shell
fish-exe)
(setq-default explicit-shell-file-name
fish-exe))
2025-08-25 14:12:57 +08:00
(setq doom-font (font-spec
:family "Maple Mono NF CN"
2025-07-13 06:04:55 +08:00
: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)
(add-hook 'telega-load-hook
'telega-notifications-mode)