summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-02-26 06:09:02 +0200
committerThanos Apollo <[email protected]>2023-02-26 06:09:02 +0200
commit2caba1d818d33f8e8884e758b1ea5b2260c0054e (patch)
tree74ac542b41504b9b33f6ae00a1c4eeb1636f8df3 /.emacs.d
parentf4fcf47f53062e7d279cb1bc9fc102fb05bc596e (diff)
squash! emacs: Update (system-name) variables
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el6
1 files changed, 5 insertions, 1 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)