summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob L. Kreuze2019-05-25 13:39:53 -0400
committerJakob L. Kreuze2019-05-25 13:39:53 -0400
commit41ac24657cb70dbf7bae7763f94451d77f9300a5 (patch)
treea0672c5fe3f69551e90ac6064bf5708e1f430bb9
parent66b580a0489727a29198a4a292434478d1d63735 (diff)
Hide mode/line/col information for 'exwm-mode buffers
-rw-r--r--jakob.org8
1 files changed, 5 insertions, 3 deletions
diff --git a/jakob.org b/jakob.org
index 88e938e..7480b1a 100644
--- a/jakob.org
+++ b/jakob.org
@@ -716,9 +716,11 @@ RIGHT aligned respectively."
(setq-default mode-line-format
'((:eval
(mode-line-render
- (concat "%b [%m] [%*] Ln: %l/"
- (number-to-string (1+ (count-lines 1 (point-max))))
- " Col: %c")
+ (if (memq major-mode '(exwm-mode))
+ "%b"
+ (concat "%b [%m] [%*] Ln: %l/"
+ (number-to-string (1+ (count-lines 1 (point-max))))
+ " Col: %c"))
(cond ((string= (system-name) "Upsilon")
(format "%s | %s"
(mode-line-time)

© 2015 - 2026 Jakob L. Kreuze