Enable doom modeline
This commit is contained in:
parent
1ef6e5ac12
commit
3f4b71ebc9
1 changed files with 23 additions and 23 deletions
|
@ -35,19 +35,19 @@
|
|||
(if proj (file-name-base (directory-file-name (project-root proj)))
|
||||
"NoProject")))
|
||||
|
||||
(setq-default header-line-format
|
||||
(list "-%M"
|
||||
'(:eval (my-project-name)) " "
|
||||
system-name " " user-login-name " "
|
||||
"-%-"))
|
||||
;; (setq-default header-line-format
|
||||
;; (list "-%M"
|
||||
;; '(:eval (my-project-name)) " "
|
||||
;; system-name " " user-login-name " "
|
||||
;; "-%-"))
|
||||
|
||||
(setq-default mode-line-format
|
||||
(list "-%b %*%n %I %l:%c %p "
|
||||
'(:eval mode-name) " "
|
||||
'(:eval (my-vc-info))
|
||||
'(:eval (if mode-line-process (concat ":" mode-line-process " ") ""))
|
||||
'default-directory
|
||||
"-%-"))
|
||||
;; (setq-default mode-line-format
|
||||
;; (list "-%b %*%n %I %l:%c %p "
|
||||
;; '(:eval mode-name) " "
|
||||
;; '(:eval (my-vc-info))
|
||||
;; '(:eval (if mode-line-process (concat ":" mode-line-process " ") ""))
|
||||
;; 'default-directory
|
||||
;; "-%-"))
|
||||
|
||||
(set-face-attribute 'mode-line nil :weight 'bold)
|
||||
(set-face-attribute 'header-line nil :weight 'bold)
|
||||
|
@ -63,17 +63,17 @@
|
|||
:if (display-graphic-p)
|
||||
:hook (dired-mode . all-the-icons-dired-mode))
|
||||
|
||||
;; (use-package doom-modeline
|
||||
;; :hook (after-init . doom-modeline-mode)
|
||||
;; :custom
|
||||
;; (doom-modeline-height 0)
|
||||
;; (doom-modeline-bar-width 4)
|
||||
;; (doom-modeline-icon t)
|
||||
;; (doom-modeline-major-mode-icon t)
|
||||
;; (doom-modeline-unicode-fallback nil)
|
||||
;; (doom-modeline-minor-modes nil)
|
||||
;; (doom-modeline-buffer-encoding nil)
|
||||
;; (doom-modeline-battery nil))
|
||||
(use-package doom-modeline
|
||||
:hook (after-init . doom-modeline-mode)
|
||||
:custom
|
||||
(doom-modeline-height 0)
|
||||
(doom-modeline-bar-width 4)
|
||||
(doom-modeline-icon t)
|
||||
(doom-modeline-major-mode-icon t)
|
||||
(doom-modeline-unicode-fallback nil)
|
||||
(doom-modeline-minor-modes nil)
|
||||
(doom-modeline-buffer-encoding nil)
|
||||
(doom-modeline-battery nil))
|
||||
|
||||
(use-package helpful
|
||||
:commands (helpful-callable helpful-variable helpful-command helpful-key)
|
||||
|
|
Loading…
Add table
Reference in a new issue