Crates.io | matugen |
lib.rs | matugen |
version | 2.4.1 |
source | src |
created_at | 2023-05-06 14:20:24.025697 |
updated_at | 2024-11-13 14:41:24.110066 |
description | A material you color generation tool with templates |
homepage | |
repository | https://github.com/InioX/matugen |
max_upload_size | |
id | 858510 |
size | 1,465,918 |
replace
, to_upper
, to_lower
and set_lightness
If you would like to learn more about the features and configuration, read the wiki here. |
---|
cargo install matugen
Using your favourite AUR helper:
yay -S matugen-bin
Add matugen to your flake inputs:
inputs = {
matugen = {
url = "github:/InioX/Matugen";
# If you need a specific version:
ref = "refs/tags/matugen-v0.10.0"
};
# ...
};
Then you can add it to your packages:
let
system = "x86_64-linux";
in {
environment.systemPackages = with pkgs; [
# ...
inputs.matugen.packages.${system}.default
];
}
This flake also provides a NixOS/Home Manager module, which can be imported by adding this in your configuration:
{pkgs, inputs, ...}: {
imports = [
inputs.matugen.nixosModules.default
];
# ...
}
The module does NOT automatically symlink the files. For an example of using this module with Home Manager, see https://github.com/InioX/matugen/issues/28
Option details can be found by reading the module. A search.nixos.org-like option viewer is planned.
pkgin install matugen
or, if you prefer to build it from source
cd /usr/pkgsrc/graphics/matugen
make install