summaryrefslogtreecommitdiff
path: root/lisp/appearance/modeline.el
diff options
context:
space:
mode:
authorJakob L. Kreuze2021-01-28 20:03:44 -0500
committerJakob L. Kreuze2021-01-28 20:03:44 -0500
commita6629469f304b8d485a32df222be1e39a6db3e46 (patch)
tree732ec678d104c227845f08f7b754c84f896af387 /lisp/appearance/modeline.el
parent4f52dee2bcdb1ee0a3d877b82b34392558b86d3a (diff)
Add initial configuration for Dash (and EWW).
Diffstat (limited to 'lisp/appearance/modeline.el')
-rw-r--r--lisp/appearance/modeline.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/appearance/modeline.el b/lisp/appearance/modeline.el
index eefd80c..53ee967 100644
--- a/lisp/appearance/modeline.el
+++ b/lisp/appearance/modeline.el
@@ -80,8 +80,13 @@ RIGHT aligned respectively."
(concat "%b [%m: "
shell-title
"] [%*] Ln: %l/"
- (number-to-string (1+ (count-lines 1 (point-max))))
- " Col: %c"))
+ (number-to-string (1+ (count-lines 1 (point-max))))
+ " Col: %c"))
+ ((and (eq major-mode 'eww-mode) (boundp 'eww-data))
+ (concat (plist-get eww-data :title)
+ " [%m] [%*] Ln: %l/"
+ (number-to-string (1+ (count-lines 1 (point-max))))
+ " Col: %c"))
(t
(concat "%b [%m] [%*] Ln: %l/"
(number-to-string (1+ (count-lines 1 (point-max))))

© 2015 - 2026 Jakob L. Kreuze