mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 22:12:53 +01:00
This commit adds a new Wallpaper configuration option to the WorkspaceConfig, allowing the user to specify a path to a wallpaper image file, and to specify whether to generate a base16 palette from the colours of that image file. Theme generation is enabled by default when a wallpaper is selected. A set of theme options can be given to customize the colours of various borders and accents. The themes generated are also plumbed through to the komorebi-bar. The palette generation algorithm from "flavours" (which has been forked and updated) is quite slow, so the outputs are cached to file in DATA_DIR, and keyed by ThemeVariant (Light or Dark). The Win32 COM API to set the desktop wallpaper is also quite slow, however this calls is async so it doesn't block komorebi's main thread.
100 lines
2.2 KiB
TOML
100 lines
2.2 KiB
TOML
[graph]
|
|
targets = [
|
|
"x86_64-pc-windows-msvc",
|
|
"i686-pc-windows-msvc",
|
|
"aarch64-pc-windows-msvc",
|
|
]
|
|
all-features = false
|
|
no-default-features = false
|
|
|
|
[output]
|
|
feature-depth = 1
|
|
|
|
[advisories]
|
|
ignore = [
|
|
{ id = "RUSTSEC-2020-0016", reason = "local tcp connectivity is an opt-in feature, and there is no upgrade path for TcpStreamExt" },
|
|
{ id = "RUSTSEC-2024-0436", reason = "paste being unmaintained is not an issue in our use" },
|
|
{ id = "RUSTSEC-2024-0320", reason = "not using any yaml features from this library" }
|
|
]
|
|
|
|
[licenses]
|
|
allow = [
|
|
"0BSD",
|
|
"Apache-2.0",
|
|
"Artistic-2.0",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"BSL-1.0",
|
|
"CC0-1.0",
|
|
"ISC",
|
|
"MIT",
|
|
"MIT-0",
|
|
"MPL-2.0",
|
|
"OFL-1.1",
|
|
"Ubuntu-font-1.0",
|
|
"Unicode-3.0",
|
|
"Zlib",
|
|
"LicenseRef-Komorebi-1.0"
|
|
]
|
|
confidence-threshold = 0.8
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebi"
|
|
expression = "LicenseRef-Komorebi-1.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebi-client"
|
|
expression = "LicenseRef-Komorebi-1.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebic"
|
|
expression = "LicenseRef-Komorebi-1.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebic-no-console"
|
|
expression = "LicenseRef-Komorebi-1.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebi-themes"
|
|
expression = "LicenseRef-Komorebi-1.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebi-gui"
|
|
expression = "LicenseRef-Komorebi-1.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebi-bar"
|
|
expression = "LicenseRef-Komorebi-1.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "base16-egui-themes"
|
|
expression = "MIT"
|
|
license-files = []
|
|
|
|
[bans]
|
|
multiple-versions = "allow"
|
|
wildcards = "allow"
|
|
highlight = "all"
|
|
workspace-default-features = "allow"
|
|
external-default-features = "allow"
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
allow-git = [
|
|
"https://github.com/LGUG2Z/base16-egui-themes",
|
|
"https://github.com/LGUG2Z/catppuccin-egui",
|
|
"https://github.com/LGUG2Z/windows-icons",
|
|
"https://github.com/LGUG2Z/win32-display-data",
|
|
"https://github.com/LGUG2Z/flavours",
|
|
"https://github.com/LGUG2Z/base16_color_scheme",
|
|
]
|