;; read feeds list from a separate file
elfeed-feeds (esy/feeds)))
+;;; Disable some minor-mode mode-line lighters
-(with-eval-after-load 'whitespace-cleanup-mode
- (setf (alist-get 'whitespace-cleanup-mode minor-mode-alist) '("")))
-
-(with-eval-after-load 'outline
- (setf (alist-get 'outline-minor-mode minor-mode-alist) '("")))
+(dolist (mm '((whitespace-cleanup-mode . whitespace-cleanup-mode)
+ (outline . outline-minor-mode)
+ (abbrev . abbrev-mode)))
+ (with-eval-after-load (car mm)
+ (setf (alist-get (cdr mm) minor-mode-alist) '(""))))
;;; Track currency exchange rates
'face face))
" "
'display-time-string
- 'battery-mode-line-string)))
+ 'battery-mode-line-string
+ (capitalize (substring (symbol-name (car custom-enabled-themes)) 3))
+ " ")))
"%5l"
(4 "|%c")
" "