diff options
-rw-r--r-- | emacs/.emacs.d/wpc/wpc-ui.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-ui.el b/emacs/.emacs.d/wpc/wpc-ui.el index 35ca918763eb..6d407e6f59af 100644 --- a/emacs/.emacs.d/wpc/wpc-ui.el +++ b/emacs/.emacs.d/wpc/wpc-ui.el @@ -163,9 +163,12 @@ (when (device-work-laptop?) (laptop-battery-display)) -(fonts-whitelist-set "JetBrainsMono") -(fonts-enable-ligatures) -(colorscheme-whitelist-set 'doom-solarized-light) +(if window-system + (progn + (fonts-whitelist-set "JetBrainsMono") + (fonts-enable-ligatures) + (colorscheme-whitelist-set 'doom-solarized-light)) + (load-theme 'wombat)) (modeline-setup) |