Commit Graph

5 Commits

Author SHA1 Message Date
Aryadev Chavali
38b69af52b (Emacs/config)~refactor better-mode-line settings
Use new namespace, move evil-state mode-line generation to personal
configuration and add (mode-line-selected-window-p) checks to hide the
left and right segment when they're not the focused window.
2024-07-02 13:24:47 +01:00
Aryadev Chavali
54a00ccd3d (Emacs/elisp)~refactor better-mode-line
New namespace that's tiny bit less verbose, and refactor on padding
generation to stop repeating myself.
2024-07-02 13:24:47 +01:00
Aryadev Chavali
e2dba6be76 (Emacs/config)~Fix up some stuff in mode line 2024-07-02 00:55:48 +01:00
Aryadev Chavali
393038643a (Emacs/elisp)~better-mode-line now ignores margins
(window-width) cares about margins which isn't nice for padding
computations, so I made a function for computing padding sizes
including margins.
2024-07-01 04:16:05 +01:00
Aryadev Chavali
12b62f7cea (Emacs/elisp|config)+new package that generates a mode-line
Using left, centre and right segments generates a mode line with
padded strings that actually achieves this.
2024-07-01 04:16:05 +01:00