From a6629469f304b8d485a32df222be1e39a6db3e46 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Thu, 28 Jan 2021 20:03:44 -0500 Subject: Add initial configuration for Dash (and EWW). --- lisp/appearance/modeline.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lisp/appearance') 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)))) -- cgit v1.3