Conditionally load-theme

When the `window-system` is set, use `solarized-light`. When it's not,
use `wombat`.
This commit is contained in:
William Carroll 2020-09-07 16:13:53 +01:00
parent bdd9d963be
commit 3a87f3485f

View file

@ -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)