Skip to content

pprevos/disco-ef-themes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Disco Ef Themes

The Ef (εὖ/good) Themes package by Protesilaos Stavrou (Prot) provides colorful and legible themes.

The diso-ef-themes package detects whether the active Ef theme is light or dark of the Ef variety and then picks a random light or dark theme. If the current theme is not a member of the Ef catalogue, then a random dark variety is loaded.

This frivolous package can also automatically change themes at a defined interval, creating an Ef Themes disco!

There are three commands:

  • disco-ef-themes-load-random: Load a random theme manually. Matches the shade of the active theme.
  • disco-ef-themes-change-shade: Toggle between light and dark theme.
  • disco-ef-themes: Activate the disco

If you are hungry for more, then check out the theme-buffet by Bruno Boal and Protesilaos Stavrou.

Installation and configuration

Download the disco-ef-themes.el file and store it in your preferred location. This use-package declaration loads the theme and starts the disco by changing themes every 10 seconds. Alternatively use:

(package-vc-install "https://github.com/pprevos/disco-ef-themes")

You can change the interval with the disco-ef-themes-interval variable. Setting it to low might lock your Emacs. My personal configuration sets it at 600 seconds, which adds some variety to my day.

(use-package disco-ef-themes
  :load-path "~/.config/emacs/" ;; Add and edit as required
  :custom
  (disco-ef-themes-interval 10)
  :bind
  (("<f12>"   . disco-ef-themes-load-random)
   ("M-<f12>" . disco-ef-themes)
   ("C-<f12>" . disco-ef-themes-change-shade)))

Key Bindings

  • F12 changes themes manually
  • C-F12 toggles between dark and light themes
  • M-F12 activates the disco

About

Frivolous package to randomly change Ef Themes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published