Don't enable display-battery and display-time by default
This commit is contained in:
parent
9e00c03ce0
commit
c7d195fde4
16
init.el
16
init.el
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue