Add the time unit to the modeline
This commit is contained in:
parent
6bdc0a5154
commit
7b53b776ad
|
@ -265,9 +265,8 @@ contextual information."
|
||||||
;; git changes in the fringe
|
;; git changes in the fringe
|
||||||
(global-diff-hl-mode)
|
(global-diff-hl-mode)
|
||||||
|
|
||||||
(when-not-wm
|
|
||||||
;; Modeline replacement
|
;; Modeline replacement
|
||||||
(noether-global-mode))
|
(noether-global-mode)
|
||||||
|
|
||||||
;; Rectangular select
|
;; Rectangular select
|
||||||
(cua-selection-mode t)
|
(cua-selection-mode t)
|
||||||
|
|
|
@ -76,7 +76,9 @@ to Emacs modeline."
|
||||||
|
|
||||||
;; Setup modelines
|
;; Setup modelines
|
||||||
(when-not-wm
|
(when-not-wm
|
||||||
(setq-default noether-views (list fg42/modeline))))
|
(setq-default noether-views (list fg42/modeline)))
|
||||||
|
(when-wm
|
||||||
|
(setq-default noether-views nil)))
|
||||||
|
|
||||||
(provide 'fg42/modeline)
|
(provide 'fg42/modeline)
|
||||||
;;; modeline.el ends here
|
;;; modeline.el ends here
|
||||||
|
|
|
@ -62,7 +62,6 @@
|
||||||
(buffer-name-unit
|
(buffer-name-unit
|
||||||
:label (format "%s " (nerd-icons-codicon "nf-cod-layers"))
|
:label (format "%s " (nerd-icons-codicon "nf-cod-layers"))
|
||||||
:len 20)
|
:len 20)
|
||||||
;; (mode-name-unit :label " " :len 4)
|
|
||||||
(projectile-project-unit
|
(projectile-project-unit
|
||||||
:label (format "%s " (nerd-icons-octicon "nf-oct-project"))
|
:label (format "%s " (nerd-icons-octicon "nf-oct-project"))
|
||||||
:len 20)
|
:len 20)
|
||||||
|
@ -70,7 +69,8 @@
|
||||||
:label (format "%s " (nerd-icons-devicon "nf-dev-git_branch"))
|
:label (format "%s " (nerd-icons-devicon "nf-dev-git_branch"))
|
||||||
:len 20)
|
:len 20)
|
||||||
(fg42/mode-icon)
|
(fg42/mode-icon)
|
||||||
(line-unit :label (format "%s " (nerd-icons-codicon "nf-cod-location")))))
|
(line-unit :label (format "%s " (nerd-icons-codicon "nf-cod-location")))
|
||||||
|
(time-unit :label (format " %s " (nerd-icons-mdicon "nf-md-clock_time_three")))))
|
||||||
|
|
||||||
|
|
||||||
(noether-defview fg42/minimal-exwm
|
(noether-defview fg42/minimal-exwm
|
||||||
|
|
Loading…
Reference in New Issue