From 75f0650229b06eb0a0b7745ce96a93173e746b77 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sun, 7 Mar 2021 15:13:25 -0500 Subject: [PATCH] Add more TTY checks in interface --- modules/interface.org | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/interface.org b/modules/interface.org index 3059c9d..9c73166 100644 --- a/modules/interface.org +++ b/modules/interface.org @@ -97,13 +97,15 @@ Define a transient keybinding for Scaling the text. Dired feels more modern with prioritized icon fonts using *All the Icons*[fn:3]. This makes navigation and visually parsing directories much faster, given that file types are quickly identified by their corresponding icons. #+begin_src emacs-lisp -(use-package all-the-icons) +(use-package all-the-icons + :when (window-system)) #+end_src Integration with the *All the Icons Dired*[fn:4]package. #+begin_src emacs-lisp (use-package all-the-icons-dired + :when (window-system) :hook (dired-mode . all-the-icons-dired-mode)) #+end_src @@ -118,7 +120,8 @@ High quality and modern colour themes are provided in the *Doom Themes*[fn:5] pa #+begin_src emacs-lisp (use-package doom-themes - :init (load-theme 'doom-dracula t)) + :when (window-system) + :init (load-theme 'doom-moonlight t)) #+end_src Load a theme with =SPC t t=. @@ -134,6 +137,7 @@ Load a theme with =SPC t t=. #+begin_src emacs-lisp (use-package doom-modeline + :when (window-system) :custom (doom-modeline-height 16) :config (doom-modeline-mode 1)) #+end_src @@ -189,7 +193,6 @@ Make headline stars *super* with *Org superstar mode*[fn:14]. :hook (org-mode . org-superstar-mode)) #+end_src - * Emojis Gotta have those emojis, first class support for Emacs via the *Emacs-emojify*[fn:13] package. @@ -261,6 +264,7 @@ Present a *Dashboard* when first launching Emacs. Customize the buttons of the n #+begin_src emacs-lisp (use-package dashboard + :when (window-system) :custom (dashboard-center-content t) (dashboard-set-init-info t) (dashboard-set-file-icons t)