Conditionally load-theme
When the `window-system` is set, use `solarized-light`. When it's not, use `wombat`.
This commit is contained in:
parent
bdd9d963be
commit
3a87f3485f
1 changed files with 6 additions and 3 deletions
|
@ -163,9 +163,12 @@
|
||||||
(when (device-work-laptop?)
|
(when (device-work-laptop?)
|
||||||
(laptop-battery-display))
|
(laptop-battery-display))
|
||||||
|
|
||||||
(fonts-whitelist-set "JetBrainsMono")
|
(if window-system
|
||||||
(fonts-enable-ligatures)
|
(progn
|
||||||
(colorscheme-whitelist-set 'doom-solarized-light)
|
(fonts-whitelist-set "JetBrainsMono")
|
||||||
|
(fonts-enable-ligatures)
|
||||||
|
(colorscheme-whitelist-set 'doom-solarized-light))
|
||||||
|
(load-theme 'wombat))
|
||||||
|
|
||||||
(modeline-setup)
|
(modeline-setup)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue