diff options
| author | Jakob L. Kreuze | 2021-01-28 20:03:44 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze | 2021-01-28 20:03:44 -0500 |
| commit | a6629469f304b8d485a32df222be1e39a6db3e46 (patch) | |
| tree | 732ec678d104c227845f08f7b754c84f896af387 /lisp/appearance | |
| parent | 4f52dee2bcdb1ee0a3d877b82b34392558b86d3a (diff) | |
Add initial configuration for Dash (and EWW).
Diffstat (limited to 'lisp/appearance')
| -rw-r--r-- | lisp/appearance/modeline.el | 9 |
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)))) |