Skip to content

Commit cae0a85

Browse files
committed
Install theme-buffet
Small package for automatically choosing the right theme (or at least, that's the hope. let's see how it goes.)
1 parent 563ec46 commit cae0a85

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

init-el-get.el

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,6 +1346,19 @@ Throw an error is the filename is not of type org."
13461346
(tagedit-mode +1))
13471347
(add-hook 'html-mode-hook #'turn-on-tagedit)))
13481348

1349+
(:name theme-buffet
1350+
:after (let ((modus-themes-p (featurep 'modus-themes))
1351+
(ef-themes-p (featurep 'ef-themes)))
1352+
(setq theme-buffet-menu 'end-user)
1353+
(setq theme-buffet-time-offset 0)
1354+
(setq theme-buffet-end-user
1355+
'(:night (ef-dark ef-winter ef-autumn ef-night ef-duo-dark ef-symbiosis ef-owl)
1356+
:morning (ef-light ef-cyprus ef-spring ef-frost ef-duo-light ef-eagle)
1357+
:afternoon (ef-arbutus ef-day ef-kassio ef-summer ef-elea-light ef-maris-light ef-melissa-light ef-trio-light ef-reverie)
1358+
:evening (ef-rosa ef-elea-dark ef-maris-dark ef-melissa-dark ef-trio-dark ef-dream)))
1359+
1360+
(when (or modus-themes-p ef-themes-p)
1361+
(theme-buffet-timer-hours 2))))
13491362
(:name ts
13501363
:after (progn (require 'ts)))
13511364

0 commit comments

Comments
 (0)