diff options
author | bd <bdunahu@operationnull.com> | 2024-06-19 14:35:25 -0600 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2024-06-19 14:35:25 -0600 |
commit | ef625f040941b5e6028afcce9d196943f87bee63 (patch) | |
tree | 23915ec3a3540f9ccfa7adf24f681796f72d9f1c /.config/emacs/modules/bd--modeline.el | |
parent | 83e22f3515998dea1843e3f5a10edcae5dd818f6 (diff) |
Add move comments, move modeline and dwm bar to top to match tabs
Diffstat (limited to '.config/emacs/modules/bd--modeline.el')
-rw-r--r-- | .config/emacs/modules/bd--modeline.el | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/.config/emacs/modules/bd--modeline.el b/.config/emacs/modules/bd--modeline.el index 1c0a4df..1b0f5ee 100644 --- a/.config/emacs/modules/bd--modeline.el +++ b/.config/emacs/modules/bd--modeline.el @@ -1,11 +1,10 @@ -;; -*- lexical-binding: t; -*- +;;; -*- lexical-binding: t; -*- +;;; Commentary: +;;; Note this currently requires many of the previous modules to be loaded +;;; to function properly. +;;; Code: -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Highly customized modeline. Note this currently requires ;; -;; many of the previous modules to be loaded to function properly. ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - (defun mode-line-fill (reserve) "Return empty space, leaving RESERVE space on the right." (unless reserve @@ -55,6 +54,8 @@ '(:eval (when (mode-line-window-selected-p) mode-line-position))) +;; show column number +(column-number-mode) ;;;; git (defun git-vc-modeline () @@ -80,7 +81,8 @@ (put construct 'risky-local-variable t)) -(setq-default mode-line-format +;; set elements; move modeline to top +(setq-default header-line-format (list mode-line-front-space ;; mode-line-mule-info @@ -92,10 +94,12 @@ mode-line-modified bd/vc-mode-line " " - (mode-line-fill 13) + (mode-line-fill 19) bd/line-position " " bd/time-mode-line)) +(setq-default mode-line-format nil) (provide 'bd--modeline) +;;; bd-modeline ends here |