Vincent Zhang
2b30885767
New faces: doom-modeline-input-method and doom-modeline-input-method-alt.
2020-05-13 19:03:49 +08:00
Vincent Zhang
df56aad083
Format codes.
2020-05-02 12:34:44 +08:00
Vincent Zhang
515300f984
Don't trim the tag names in modal segment.
2020-05-01 21:45:48 +08:00
Vincent Zhang
f8214e8661
Eliminate warnings.
2020-05-01 18:26:40 +08:00
Morgan Smith
5090426eb2
Added ability to exclude gnus groups from unread count
2020-04-24 18:55:18 -04:00
Jake Romer
a37333ad7a
Replace and
with when
2020-04-23 12:26:11 -04:00
Jake Romer
87de449996
Fix typo
2020-04-23 11:20:47 -04:00
Jake Romer
b44a48312d
Rename variable, omit adjacent space if omitting persp icon
...
- Rename toggle to `doom-modeline-persp-icon`
- Omits adjacent `doom-modeline-vsp` if omitting persp icon
2020-04-23 11:15:56 -04:00
Jake Romer
46d62072dc
Make persp mode indicator icon toggleable
...
By default the persp name is displayed with a folder icon. This patch makes the
icon toggleable via `doom-modeline-display-persp-icon'.
2020-04-23 07:38:01 -04:00
Vincent Zhang
828b95d428
Fix incorrect face of pdf-pages while focusing out.
2020-04-18 15:24:20 +08:00
Vincent Zhang
5e3d2da9a7
Improve the face of input-method.
2020-04-16 18:57:24 +08:00
Vincent Zhang
b44955841a
Exclude child frames while calculating window numbers.
2020-04-07 22:13:47 +08:00
Vincent Zhang
bead0d0cec
[Feature] Integrate phi-search.
...
Close #212 .
Add phi-search to matches segment.
2020-04-06 23:22:01 +08:00
Vincent Zhang
e8066aad42
Eliminate warnings.
2020-04-06 20:55:36 +08:00
Vincent Zhang
671a640a19
[Feature] Support rime input method.
2020-04-06 20:10:05 +08:00
Vincent Zhang
99e9bcf970
Fix the compatibility issue of the buffer icons.
...
See https://github.com/seagle0128/icons-in-terminal.el/issues/1 .
2020-03-20 00:13:07 +08:00
Vincent Zhang
06a79f5c50
Update comments.
2020-03-12 01:26:09 +08:00
Vincent Zhang
883370eb16
[Feature] Support tab-bar-mode in workspace-name segment.
...
Close #317 .
2020-03-12 01:22:04 +08:00
Vincent Zhang
5bffef2568
Allow fetching github notifications background.
2020-03-06 19:34:39 +08:00
Vincent Zhang
0df5585984
Update icon size.
2020-03-01 14:57:11 +08:00
Vincent Zhang
f541215023
Fix incorrect icons.
2020-02-28 15:13:35 +08:00
Vincent Zhang
9508fae617
Ensure the width and height are numbers.
2020-02-26 02:49:36 +08:00
Vincent Zhang
54574d9af3
[Optimize] Check if the buffer is modified timely.
...
Don't check in the hooks in case some cases are missing.
Moreover calling `buffer-modified-p' is fast.
It doesn't affect performance.
2020-02-25 20:18:01 +08:00
Vincent Zhang
0b13552514
doom-modeline-window-width-limit doesn't need to respect file-name style.
2020-02-23 20:29:13 +08:00
Vincent Zhang
a25dc7267e
[Feature] Simplify buffer name and others when the window is small.
...
1. Introduce an option: doom-modeline-window-width-limit.
2. Check if the window is small (window-width <=
doom-modeline-window-width-limit) while window size is changed.
3. Only display buffer name when the window is snall.
4. Don't display pers-name when the window is small.
2020-02-23 04:21:58 +08:00
Vincent Zhang
b88ec7fef7
Fix cut-off issue in unicode-fallback.
2020-02-22 23:47:44 +08:00
Vincent Zhang
4d8d935191
Eliminate warnings.
2020-02-22 16:06:14 +08:00
Vincent Zhang
65af9de491
Remove redundant codes for refreshing buffer file name.
2020-02-20 01:40:45 +08:00
Vincent Zhang
1b5424ff3c
Add an extra space for safety.
...
Fix #287 .
2020-02-19 13:43:00 +08:00
Vincent Zhang
25af2880de
Suppress compiler warnings.
2020-02-19 13:16:29 +08:00
Vincent Zhang
1c397a757c
Only starting the process When the window is active.
...
Otherwise the mode-line will be activated while the frame is unfocused.
2020-02-19 00:43:16 +08:00
Vincent Zhang
0d6993a84c
Refactor doom-modeline-propertize-icon.
2020-02-18 22:28:11 +08:00
Vincent Zhang
0ce7ddfa0d
Make the icons inconsistent in both active and inactive windows.
...
Fix #306 .
The extra face should be the first attribute, or the font family may be overridden.
So convert the face ":family XXX :height XXX :inherit XXX" to
":inherit XXX :family XXX :height XXX".
Remove `doom-modeline-icon-inactive' face accordingly.
2020-02-18 21:07:14 +08:00
Vincent Zhang
0bc9953cb1
Revert "Make the icon faces inconsistent."
...
This reverts commit 68e17437cf
.
Close #308 .
2020-02-18 01:21:57 +08:00
Vincent Zhang
7eea9773ac
Fix cl-lib compatibility issue.
2020-02-17 19:23:23 +08:00
Vincent Zhang
87911f0144
Remove extra space in the checker segment.
2020-02-16 23:37:49 +08:00
Vincent Zhang
68e17437cf
Make the icon faces inconsistent.
...
Fix #306 .
1. Remove face: doom-modeline-icon-inactive.
2. Change the face as plist.
2020-02-16 23:03:21 +08:00
Vincent Zhang
c2b286f2f3
Fix incorrect icon while doom-modeline-major-mode-color-icon is nil.
2020-02-16 02:35:57 +08:00
Vincent Zhang
a18f913cf1
Revert "Fix #306 : modeline icon color is inconsistent when using which-key."
...
This reverts commit bf26cc00b5
.
2020-02-16 01:21:49 +08:00
Vincent Zhang
bf26cc00b5
Fix #306 : modeline icon color is inconsistent when using which-key.
2020-02-16 00:54:47 +08:00
Vincent Zhang
26d82585a9
Update dap debug state while the session is changed.
2020-02-14 15:53:48 +08:00
Vincent Zhang
4d2c28805e
[Optimize] Update dap-debug state.
2020-02-14 15:34:37 +08:00
Vincent Zhang
22765cb575
[Feature] Highlight the mode-line while debugging.
2020-02-14 15:11:40 +08:00
Vincent Zhang
ee92cfa0da
Refactor.
2020-02-14 11:29:20 +08:00
Waqar Hameed
2ae83dea86
Check before displaying icon for buffer-default-directory
...
If doom-modeline-major-mode-icon is nil, we should not show the
file-directory icon for buffer-default-directory segment.
2020-02-13 21:11:07 +01:00
Vincent Zhang
c4969ff149
Not using bold for the unread numbers.
2020-02-13 23:08:47 +08:00
Vincent Zhang
7e9587dcb1
Use do_not_disturb_alt icon instead of block icon.
...
Close #304 .
2020-02-13 14:31:44 +08:00
Vincent Zhang
ffee20bac9
Introduce `doom-modeline-icon-inactive' face.
...
See #301 .
To display the icons in inactive windows correctly.
2020-02-12 17:17:10 +08:00
Vincent Zhang
a2687e8416
[Enhancement] Support different fonts in mode-line.
...
Close #301 .
1. Not inherit `mode-line-inactive' face for icons.
Thus all icons are able to displayed correctly in all windows.
2. Calculate the right position according to the mode-line font.
Refresh the font width after setting frame parameters to ensure the font
width is correct.
3. Only display monior-modes in the active window.
2020-02-12 01:41:08 +08:00
Vincent Zhang
43a78ad7eb
[Feature] Introduce `auto' style for buffer file names.
...
Close #179 .
`auto' style is the default style now.
Given ~/Projects/FOSS/emacs/lisp/comint.el
auto => emacs/lisp/comint.el (in a project) or comint.el
truncate-upto-project => ~/P/F/emacs/lisp/comint.el
truncate-from-project => ~/Projects/FOSS/emacs/l/comint.el
truncate-with-project => emacs/l/comint.el
truncate-except-project => ~/P/F/emacs/l/comint.el
truncate-upto-root => ~/P/F/e/lisp/comint.el
truncate-all => ~/P/F/e/l/comint.el
relative-from-project => emacs/lisp/comint.el
relative-to-project => lisp/comint.el
file-name => comint.el
buffer-name => comint.el<2> (uniquify buffer name)"
2020-02-11 01:51:52 +08:00