diff --git a/init.d/basics/appearance.el b/init.d/basics/appearance.el index 61b8f55..1256308 100644 --- a/init.d/basics/appearance.el +++ b/init.d/basics/appearance.el @@ -1,6 +1,6 @@ ;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-04-25T18:23:05+0200> +;; Time-stamp: <2020-04-25T18:27:20+0200> ;;; Commentary: @@ -75,8 +75,9 @@ (face-background 'default) "\")\n" "(set-face-foreground 'default \"" (face-foreground 'default) "\")\n" - "(tool-bar-mode -1)\n" - "(menu-bar-mode -1)\n")) + "(menu-bar-mode -1)\n" + "(when (display-graphic-p)\n" + " (tool-bar-mode -1))\n")) (with-temp-file (expand-file-name "early-theme.el" user-emacs-directory) (insert minimal-theme)))))