Files
emacs-personal/modules/init-modeline.el
Astounds 47333c1f4f
All checks were successful
git-sync-with-mirror / test (push) Successful in 3m5s
git-sync-with-mirror / git-sync (push) Successful in 14s
perf: optimize startup time and fix theme colors
Performance improvements (2.4s → 0.97s, 60% faster):
- Enable use-package-always-defer for lazy loading
- Add native compilation support (Emacs 28+)
- Defer company, ivy, projectile with :defer
- Move settings from :config to :init where possible
- Remove redundant package-refresh-contents
2026-02-28 00:39:33 -05:00

43 lines
1.2 KiB
EmacsLisp

;;; init-modeline.el --- .Emacs Configuration -*- lexical-binding: t -*-
;;; Commentary:
;;
;;; Code:
;;----------------------------------------------------------------------------
;; Modeline configuration
;;----------------------------------------------------------------------------
(use-package doom-modeline
:pin "MELPA"
:ensure t
:hook (after-init . doom-modeline-mode)
:config
(setq column-number-mode t)
;; Custom colors for modeline (VSCode theme)
(set-face-foreground 'mode-line "#FFFFFF")
(set-face-foreground 'mode-line-inactive "#f4f4f4")
(set-face-foreground 'mode-line-highlight "#f4f4f4")
(set-face-background 'mode-line "#6a157e")
(set-face-background 'mode-line-inactive "#7B1FA2")
;; Cursor and background
(set-cursor-color "#2979FF")
(set-background-color "#1C1E1F")
;; Highlight face
(set-face-foreground 'highlight "#F4F4F4")
(set-face-background 'highlight "#004575")
;; Fringe
(set-face-background 'fringe nil)
;; Line numbers
(set-face-attribute 'line-number-current-line nil
:background "#007ACC"
:foreground "#FFFFFF"))
(provide 'init-modeline)
;; End:
;;; init-modeline.el ends here