2018-02-14 17:25:07 +00:00
|
|
|
;;; lxmode-line --- A small utility library to toggle the modeline.
|
|
|
|
;;; Commentary:
|
|
|
|
;;; Code:
|
2021-03-05 16:30:30 +00:00
|
|
|
;; (require 'doom-modeline)
|
2018-02-14 17:25:07 +00:00
|
|
|
|
2021-03-05 16:30:30 +00:00
|
|
|
;; (doom-modeline-def-segment lxdrive-info
|
|
|
|
;; "Show the status of lxdrive mode"
|
|
|
|
;; (if (and (boundp 'lxdrive-minor-mode) lxdrive-minor-mode)
|
|
|
|
;; (list " " (all-the-icons-faicon "arrows" :height 0.8 :v-adjust 0.15 :face 'all-the-icons-lgreen))
|
|
|
|
;; (list " " (all-the-icons-faicon "pencil" :height 0.8 :v-adjust 0.15))))
|
2018-02-14 17:25:07 +00:00
|
|
|
|
|
|
|
|
2021-03-05 16:30:30 +00:00
|
|
|
;; (doom-modeline-def-modeline 'fg42-mode-line
|
|
|
|
;; '(bar lxdrive-info matches buffer-info buffer-position parrot selection-info)
|
|
|
|
;; '(process vcs checker))
|
2018-02-14 17:25:07 +00:00
|
|
|
|
|
|
|
|
2021-03-05 16:30:30 +00:00
|
|
|
;; (defun setup-custom-doom-modeline ()
|
|
|
|
;; "Setup fg42 modeline."
|
|
|
|
;; (doom-modeline-set-modeline 'fg42-mode-line 'default))
|
2018-02-14 17:25:07 +00:00
|
|
|
|
2021-03-05 16:30:30 +00:00
|
|
|
;; (with-ability doom-modeline
|
|
|
|
;; (add-hook 'doom-modeline-mode-hook 'setup-custom-doom-modeline)
|
|
|
|
;; (setq doom-modeline-height 15)
|
|
|
|
;; (setq doom-modeline-buffer-encoding nil)
|
|
|
|
;; (setq doom-modeline-lsp nil)
|
|
|
|
;; (setq doom-modeline-mu4e nil)
|
|
|
|
;; (setq doom-modeline-irc nil)
|
|
|
|
;; (setq doom-modeline-buffer-file-name-style 'truncate-with-project)
|
|
|
|
;; (doom-modeline-mode t))
|
2018-02-14 17:25:07 +00:00
|
|
|
|
|
|
|
(provide 'extensions/editor/lxmodeline)
|
|
|
|
;;; lxmodeline ends here
|