From db6f11046c3834c3be5f6920adf4ab44b76192cd Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 2 Apr 2024 12:01:15 +0100 Subject: [PATCH] Disable default face background when not using GUI --- config/ui.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/ui.org b/config/ui.org index dcbc192..33eddff 100644 --- a/config/ui.org +++ b/config/ui.org @@ -15,6 +15,9 @@ (global-display-line-numbers-mode -1) (tool-bar-mode -1) + (when (not (display-graphic-p)) + (set-face-background 'default "undefined")) + (add-hook 'prog-mode-hook #'(lambda () (display-line-numbers-mode +1))) (use-package which-key