diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 40 |
1 files changed, 26 insertions, 14 deletions
@@ -7,29 +7,41 @@ instead. This information is only displayed if the echo area is not used for anything else (but if you switch frame/window, it will replace whatever message is currently displayed). -NOTE: -feebleline.el will look considerably better with the following -settings: +NOTE: feebleline.el will look considerably better with a small border between +the echo area and your other windows. This is best achieved with: (window-divider-mode t) (setq window-divider-default-bottom-width 1) (setq window-divider-default-places (quote bottom-only)) -But this mode does not work for all EMACS versions and may not work with -terminal EMACS (but I haven't checked). If you're on GUI EMACS and your -version supports it, just place the following in your init file: +But in the new version, feebleline checks your major version and applies this +automatically when feebleline-mode gets activated. If you're on emacs 24 where +window-divider-mode is not available, then feebleline does a silly hack where +it keeps the modeline active, but shrinks it so that it looks like a +border. - (feebleline-default-settings) +The modeline gets restored when you toggle off feebleline-mode, of course. -Otherwise, do (feebleline-mode t) instead, but be warned that I'm not sure -if it will look good. +## Customizations +To customize what is displayed, a smidget of elisp is required. The basic idea +is to override the following setq: -Note: Code graciously improved by *Kungsgeten*. I tweaked it a little bit more -to make it easier to customize colors etc and defined some default faces. If -anyone has any ideas for nicer default faces, let me know and I'll consider -them! + (setq feebleline-mode-line-text + '(("%6s" ((format "%s,%s" (format-mode-line "%l") (current-column)))) + (" : %s" ((if (buffer-file-name) (buffer-file-name) + (buffer-name))) (face feebleline-bufname-face)) + ("%s" ((if (and (buffer-file-name) (buffer-modified-p)) "*" "" )) + (face feebleline-asterisk-face)) + (" | %s" ((feebleline-previous-buffer-name)) + (face feebleline-previous-buffer-face)))) + +Just replace the parts you don't like or add new ones as you please. If there's +any interest in feebleline.el, we can hopefully get some example customizations +(along with screenshots) posted on this page. + +## Screenshots +These screenshots are a bit out of date. I promise to update them shortly. -New screenshot :  How it looks when the file has been modified: |
