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?)
|
||||
(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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue