mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Force refresh mode-lien to remove original fancy-battery-mode-line.
This commit is contained in:
parent
5f9d9a2e48
commit
8e61cfeff3
1 changed files with 1 additions and 0 deletions
|
@ -1736,6 +1736,7 @@ we don't want to remove that so we just return the original."
|
|||
(doom-modeline-icon-material "battery_unknown" :height 1.1 :v-adjust -0.225 :face 'error)
|
||||
(propertize "N/A" 'face 'error)))
|
||||
" "))))
|
||||
(add-hook 'fancy-battery-mode-hook #'force-mode-line-update)
|
||||
|
||||
(provide 'doom-modeline-segments)
|
||||
|
||||
|
|
Loading…
Reference in a new issue