add switching random wallpaper every 60 seconds and base for matugen
This commit is contained in:
@@ -11,7 +11,7 @@ fallback_color = "#ffbf9b"
|
||||
# Which color to choose if multiple good colors were found from an image.
|
||||
# choices: [darkness, lightness, saturation, less-saturation, value, closest-to-fallback]
|
||||
# The cli flag will override this if used.
|
||||
prefer = "closest-to-fallback"
|
||||
prefer = "value"
|
||||
|
||||
# Enables caching which will cache the colorscheme, custom colors, etc. into a cache folder located in
|
||||
# Windows: C:\Users\user\AppData\Roaming\InioX\matugen\cache\images\<file>
|
||||
@@ -34,10 +34,10 @@ block_postfix = "*>"
|
||||
|
||||
# Imports json files just like `--import-json` does.
|
||||
# Relative paths will be resolved from the path `config.toml` is in.
|
||||
import_json_files = ["./custom3.json"]
|
||||
# import_json_files = ["./custom3.json"]
|
||||
|
||||
# Defaults to the contrast from CLI if unspecified.
|
||||
# Value from -1 to 1.
|
||||
# Value from -1 to 1.
|
||||
# -1 represents minimum contrast, 0 represents standard (i.e. the design as spec'd),
|
||||
# and 1 represents maximum contrast.
|
||||
contrast = 1.0
|
||||
@@ -54,6 +54,13 @@ command = "swww img --transition-type center {{ image }}"
|
||||
# For example, killing the wallpaper daemon. Usage is like a normal hook.
|
||||
# pre_hook = ""
|
||||
|
||||
# If you don't want to use the other colors that are automatically generated (on_color, on_color_container) you can just import a custom json with the colors instead.
|
||||
# For an example of importing json see: https://iniox.github.io/#matugen/usage/importing-json
|
||||
[config.custom_colors]
|
||||
red = "#ff0000"
|
||||
blue = "#0000ff"
|
||||
green = "#00ff00"
|
||||
|
||||
[templates.includeme]
|
||||
input_path = "./include.txt"
|
||||
# The output path is optional if you just want to import the template anyways.
|
||||
@@ -84,19 +91,19 @@ type = "SchemeExpressive"
|
||||
# This will compare all of the colors inside the array with the color you set as `compare_to`, and returns the closest color to it.
|
||||
# You can then use `{{closest_color}}` inside hooks.
|
||||
colors_to_compare = [
|
||||
{ name = "black", color = "#000000" },
|
||||
{ name = "red", color = "#ff0000" },
|
||||
{ name = "maroon", color = "#800000" },
|
||||
{ name = "yellow", color = "#ffff00" },
|
||||
{ name = "olive", color = "#808000" },
|
||||
{ name = "lime", color = "#00ff00" },
|
||||
{ name = "green", color = "#008000" },
|
||||
{ name = "aqua", color = "#00ffff" },
|
||||
{ name = "teal", color = "#008080" },
|
||||
{ name = "blue", color = "#0000ff" },
|
||||
{ name = "navy", color = "#000080" },
|
||||
{ name = "fuchsia", color = "#ff00ff" },
|
||||
{ name = "purple", color = "#800080" },
|
||||
{ name = "black", color = "#000000" },
|
||||
{ name = "red", color = "#ff0000" },
|
||||
{ name = "maroon", color = "#800000" },
|
||||
{ name = "yellow", color = "#ffff00" },
|
||||
{ name = "olive", color = "#808000" },
|
||||
{ name = "lime", color = "#00ff00" },
|
||||
{ name = "green", color = "#008000" },
|
||||
{ name = "aqua", color = "#00ffff" },
|
||||
{ name = "teal", color = "#008080" },
|
||||
{ name = "blue", color = "#0000ff" },
|
||||
{ name = "navy", color = "#000080" },
|
||||
{ name = "fuchsia", color = "#ff00ff" },
|
||||
{ name = "purple", color = "#800080" },
|
||||
]
|
||||
compare_to = "{{colors.primary.default.hex}}"
|
||||
|
||||
@@ -115,10 +122,3 @@ expr_postfix = "}}"
|
||||
# https://m3.material.io/styles/color/advanced/adjust-existing-colors#1cc12e43-237b-45b9-8fe0-9a3549c1f61e
|
||||
# If you want to use the original color without any harmonization, add `_source` after the name like: `{{ color_source }}`
|
||||
# Example: To use the original red color you would use `{{ red_source }}` instead of `{{ red }}`
|
||||
|
||||
# If you don't want to use the other colors that are automatically generated (on_color, on_color_container) you can just import a custom json with the colors instead.
|
||||
# For an example of importing json see: https://iniox.github.io/#matugen/usage/importing-json
|
||||
[config.custom_colors]
|
||||
red = "#ff0000"
|
||||
blue = "#0000ff"
|
||||
green = "#00ff00"
|
||||
Reference in New Issue
Block a user