diff options
-rw-r--r-- | .emacs.d/early-init.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index 8bdcc72..a12132e 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -19,9 +19,10 @@ (add-to-list 'default-frame-alist '(fullscreen . maximized)) (menu-bar-mode -1) -(tool-bar-mode -1) -(scroll-bar-mode -1) -(horizontal-scroll-bar-mode -1) +(when window-system + (tool-bar-mode -1) + (scroll-bar-mode -1) + (horizontal-scroll-bar-mode -1)) (setq package-enable-at-startup nil) |