Don't enable display-battery and display-time by default

This commit is contained in:
Evie Litherland-Smith 2024-06-29 13:04:07 +01:00
parent 9e00c03ce0
commit c7d195fde4

16
init.el
View file

@ -314,18 +314,16 @@
(column-number-mode -1)
(size-indication-mode +1)
(require 'battery)
(when (and battery-status-function
(not ( string-match-p "unknown"
( battery-format "%B"
(funcall battery-status-function)))))
(display-battery-mode +1))
;; (require 'battery)
;; (when (and battery-status-function
;; (not ( string-match-p "unknown"
;; ( battery-format "%B"
;; (funcall battery-status-function)))))
;; (display-battery-mode +1))
(use-package time
:custom
(display-time-24hr-format t)
:config
(display-time-mode +1))
(display-time-24hr-format t))
(use-package diff-hl
:functions (diff-hl-magit-pre-refresh