(use-package maple-modeline
:quelpa (:fetcher github :repo "honmaple/emacs-maple-modeline")
:hook (after-init . maple-modeline-mode))Or alternatively, you can download the repository and install manually by doing:
git clone https://github.com/honmaple/emacs-maple-modeline ~/.emacs.d/site-lisp/maple-modeline
Then use
(use-package maple-modeline
:ensure nil
:hook (after-init . maple-modeline-mode));; standard, minimal, sidebar
(setq maple-modeline-style 'standard)
;; modeline style for side window
(setq maple-modeline-side-style 'side)
;; standard or auto or some number
(setq maple-modeline-width 'standard)
;; set modeline height
(setq maple-modeline-height 20)
;; show icon, require nerd-icons package
(setq maple-modeline-icon (and (display-graphic-p) *icon*))
;; the separator of segments
(setq maple-modeline-separator (if (display-graphic-p) 'wave 'default))
;; separator's direction of left-segments and right-segments: auto,right,left
(setq maple-modeline-direction '(right . left))(maple-modeline-define style-name
:left (window-number)
:right (count)
:separator "")Then use (setq maple-modeline-style 'style-name)
(maple-modeline-define-segment anzu
:if (bound-and-true-p anzu--state)
:priority 7
:format (anzu--update-mode-line))- custimize priority
(add-to-list 'maple-modeline-priority-alist '(buffer-info . 8))
- hide segment
(add-to-list 'maple-modeline-priority-alist '(major-mode . 0))
- custimize face
(add-to-list 'maple-modeline-face-alist '(buffer-info . font-lock-keyword-face))
- default
- wave
- arrow
- line
- bar
- slant
- contour
- box
- butt
- curve
- zigzag
- gradient
- window-number
- major-mode
- minor-mode
- buffer-info
- buffer-encoding
- buffer-position
- remote-host
- count
- region
- misc-info
- python
- flycheck
- version-control
- process
- anzu
- iedit
- lsp
- narrow
- macro
- nyan


