chore(config): Add some config for android device

This commit is contained in:
2026-05-18 23:03:31 +08:00
parent e2a352709c
commit ff77b5cafe
7 changed files with 76 additions and 43 deletions

View File

@@ -59,18 +59,30 @@
'(solarized-emacs :fork (:host github :repo "Andsy10/solarized-emacs")))
;; 把主题加载延迟到frame创建之后防止daemon模式下宏不能正常展开
(if (daemonp)
(add-hook 'after-make-frame-functions
(lambda (frame)
(with-selected-frame frame
(load-theme 'my-base16-dark t))))
(load-theme 'my-base16-dark t))
(if *is-android*
(if (daemonp)
(add-hook 'after-make-frame-functions
(lambda (frame)
(with-selected-frame frame
(load-theme 'my-base16-light t))))
(load-theme 'my-base16-light t))
(if (daemonp)
(add-hook 'after-make-frame-functions
(lambda (frame)
(with-selected-frame frame
(load-theme 'my-base16-dark t))))
(load-theme 'my-base16-dark t)))
;; 很多主题
;; (use-package doom-themes)
;; (use-package color-theme-modern)
(use-package naysayer-theme)
(if *is-android*
(use-package simple-modeline
:init
(simple-modeline-mode)))
;; eshell高亮
(use-package eshell-syntax-highlighting
:hook