summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el6
-rw-r--r--emacs.org6
2 files changed, 10 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 59cb9e4..6dc2729 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -97,7 +97,11 @@ Contains the list of packages that need to be installed.")
(add-hook 'dired-mode-hook 'all-the-icons-dired-mode)
-(display-battery-mode 1)
+;; Check if it's my thinkpad, if t
+;; display its battery life
+(when (equal (system-name) "hephaestus")
+ (display-battery-mode 1))
+
(scroll-bar-mode -1)
(tool-bar-mode -1)
(tooltip-mode -1)
diff --git a/emacs.org b/emacs.org
index 1e7f679..c7a72f4 100644
--- a/emacs.org
+++ b/emacs.org
@@ -162,7 +162,11 @@ Fonts and basic appearance settings
(add-hook 'dired-mode-hook 'all-the-icons-dired-mode)
- (display-battery-mode 1)
+ ;; Check if it's my thinkpad, if t
+ ;; display its battery life
+ (when (equal (system-name) "hephaestus")
+ (display-battery-mode 1))
+
(scroll-bar-mode -1)
(tool-bar-mode -1)
(tooltip-mode -1)