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) ((> percentage-number 25)
(if doom-modeline-icon (if doom-modeline-icon
(doom-modeline-icon-faicon "battery-quarter" :height 1.1 :v-adjust -0.0575 :face face) (doom-modeline-icon-faicon "battery-quarter" :height 1.1 :v-adjust -0.0575 :face face)
(propertize "!" 'face face))) (propertize "-" 'face face)))
(t (t
(if doom-modeline-icon (if doom-modeline-icon
(doom-modeline-icon-faicon "battery-empty" :height 1.1 :v-adjust -0.0575 :face face) (doom-modeline-icon-faicon "battery-empty" :height 1.1 :v-adjust -0.0575 :face face)