https://github.com/iogamaster/prism
🌈 Convert wallpapers into a colorscheme and place them in your ~/
https://github.com/iogamaster/prism
Last synced: about 1 year ago
JSON representation
🌈 Convert wallpapers into a colorscheme and place them in your ~/
- Host: GitHub
- URL: https://github.com/iogamaster/prism
- Owner: IogaMaster
- License: mit
- Created: 2023-10-24T19:42:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-02T18:37:17.000Z (about 2 years ago)
- Last Synced: 2025-03-17T18:34:57.884Z (over 1 year ago)
- Language: Nix
- Homepage:
- Size: 15.6 KB
- Stars: 29
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
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 |
|---|---|---|
|  |  |  |
|  |  | 
|  | |  |
#### 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
```nix
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:
```nix
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](CONTRIBUTING.md).
## 📜 License
Licensed under the MIT license ([LICENSE](LICENSE) or ).
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.