Add the time unit to the modeline

This commit is contained in:
Sameer Rahmani 2024-04-11 22:56:23 +01:00
parent 6bdc0a5154
commit 7b53b776ad
Signed by: lxsameer
GPG Key ID: 8741FACBF412FFA5
3 changed files with 6 additions and 5 deletions

View File

@ -265,9 +265,8 @@ contextual information."
;; git changes in the fringe
(global-diff-hl-mode)
(when-not-wm
;; Modeline replacement
(noether-global-mode))
(noether-global-mode)
;; Rectangular select
(cua-selection-mode t)

View File

@ -76,7 +76,9 @@ to Emacs modeline."
;; Setup modelines
(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)
;;; modeline.el ends here

View File

@ -62,7 +62,6 @@
(buffer-name-unit
:label (format "%s " (nerd-icons-codicon "nf-cod-layers"))
:len 20)
;; (mode-name-unit :label " " :len 4)
(projectile-project-unit
:label (format "%s " (nerd-icons-octicon "nf-oct-project"))
:len 20)
@ -70,7 +69,8 @@
:label (format "%s " (nerd-icons-devicon "nf-dev-git_branch"))
:len 20)
(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