Skip to content

🌈 Convert wallpapers into a colorscheme and place them in your ~/

License

Notifications You must be signed in to change notification settings

IogaMaster/prism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

prism


With prism you can recolor wallpapers at build time and place them in a home dir.

  • βš™οΈ A module for recoloring wallpapers:
    • 🏭 Runs a command to recolor the wallpaper
    • πŸ«™ Uses home-manager to place them into ~/
πŸ–ΌοΈ Gallery
Original Oxocarbon Gruvbox Dark
space324dhsj image image
rose_pine_shape image image
spiral image image

Why?

I have many wallpapers, finding ones I like that are in the colorscheme I am using is a pain. Recoloring them manually is also time consuming. So I made this module to do it for me. Hopefully it's useful to you as well!

πŸ“¦ Installation and Usage

Include in your flake

inputs.prism.url = "github:IogaMaster/prism";

Include the prism.homeModules.prism module the way you like.

Note

If you add or remove an image from the wallpapers path, ALL wallpapers will be rebuilt.

Depending on the number and resolution of wallpapers, switching to a new generation can take a long time.

Here are all the colorschemes: https://github.com/ozwaldorf/lutgen-rs/blob/main/palettes/palettes.json

To use Gruvbox Dark you need to specify colorscheme = "gruvbox-dark";

Using the module:

prism = {
  enable = true;
  wallpapers = ./wallpapers; # Path to the wallpapers directory in your config. (IMAGES ONLY)
  outPath = ".config/wallpapers"; # Where in your home directory to output to.

  # There are a few different ways of setting the colorscheme.

  # If you pass the name it will use a lutgen builtin scheme
  colorscheme = "catppuccin-mocha"; 
  
  # If you pass a list of colors, it will build a scheme from them. 
  # They are formatted like base16 schemes
  # colorscheme = [ "FFFFFF" "FAFAFA" ... ]; 
 
  # You can also pass a nix-colors scheme attrset and it will parse the colors.
  # colorscheme = nix-colors.colorscheme.nord;
};

❀️ Contributing

Contributions are whole-heartedly welcome! Please feel free to suggest new features, implement additional builders, helpers, or generally assist if you'd like. We'd be happy to have you. There's more information in CONTRIBUTING.md.

πŸ“œ License

Licensed under the MIT license (LICENSE or https://opensource.org/licenses/MIT). Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, shall be licensed as above, without any additional terms or conditions.

About

🌈 Convert wallpapers into a colorscheme and place them in your ~/

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages