1
0
Fork 0
mirror of https://github.com/correl/doom-modeline.git synced 2025-03-24 17:00:06 -09:00

Update battery status in terminal.

This commit is contained in:
Vincent Zhang 2019-03-01 03:04:49 +07:00
parent 8e61cfeff3
commit 307352d256

View file

@ -1705,7 +1705,7 @@ we don't want to remove that so we just return the original."
((> percentage-number 25)
(if doom-modeline-icon
(doom-modeline-icon-faicon "battery-quarter" :height 1.1 :v-adjust -0.0575 :face face)
(propertize "!" 'face face)))
(propertize "-" 'face face)))
(t
(if doom-modeline-icon
(doom-modeline-icon-faicon "battery-empty" :height 1.1 :v-adjust -0.0575 :face face)