Play around with header-line and mode-line
This commit is contained in:
parent
b7f484b31e
commit
69e34272cc
1 changed files with 28 additions and 5 deletions
|
@ -23,6 +23,22 @@
|
|||
|
||||
(add-hook 'after-make-frame-functions 'center-frame)
|
||||
|
||||
(setq-default header-line-format
|
||||
(list " "
|
||||
'(:eval (buffer-name)) " "
|
||||
'(:eval mode-name)
|
||||
'(:eval (format-mode-line minor-mode-alist)) " "
|
||||
'(:eval (if mode-line-process (concat ":" mode-line-process) ""))
|
||||
'(:eval (when vc-mode (concat "[" (vc-working-revision (buffer-file-name)) "] ")))))
|
||||
|
||||
(setq-default mode-line-format
|
||||
(list " "
|
||||
"%l:%c"
|
||||
" "
|
||||
mode-line-modified " "
|
||||
'(:eval (when vc-mode (substring vc-mode 5)))
|
||||
global-mode-string))
|
||||
|
||||
(use-package all-the-icons
|
||||
:if (display-graphic-p)
|
||||
:commands all-the-icons-install-fonts
|
||||
|
@ -34,9 +50,17 @@
|
|||
:if (display-graphic-p)
|
||||
:hook (dired-mode . all-the-icons-dired-mode))
|
||||
|
||||
(use-package doom-modeline
|
||||
:init (doom-modeline-mode 1)
|
||||
:custom (doom-modeline-height 0))
|
||||
;; (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)
|
||||
|
@ -67,8 +91,7 @@
|
|||
|
||||
;; (use-package vertico :init (vertico-mode))
|
||||
|
||||
(use-package emojify
|
||||
:hook (after-init . global-emojify-mode))
|
||||
(use-package emojify)
|
||||
|
||||
(use-package webjump
|
||||
:bind ("C-c j" . webjump)
|
||||
|
|
Loading…
Add table
Reference in a new issue