mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-14 21:04:04 +01:00
komorebi for Windows' users bind komorebic in a whkdrc. `whkd::parse` reads it into the same model as an skhdrc: `keys : command` bindings with the Windows virtual key names whkd takes, per-application lists with `Ignore` and `Default`, `.pause` and `.pause_hook`. A `#` starts a comment wherever it is, as in whkd. whkd requires its sections in a fixed order; the reader takes them in any. `.shell` is noted, since commands run through `sh -c`, side-specific modifiers are approximated, and keys KDE has no key for (the keypad's) are left out with a warning. whkd's own parser, `whkd-parser`, is not used to read: it requires `.shell` to be pwsh, powershell or cmd and panics on anything else, and it matches Windows process names. It is under the same license as komorebi, so it is a dev-dependency at v0.2.10, and a test reads every whkdrc of the corpus and the example of whkd's README with both parsers and requires the same bindings. deny.toml allows its git source. The corpus test now also reads the whkdrc fixtures, and checks that the files of a case read into the same keymap, apart from where each binding was written.
100 lines
2.8 KiB
TOML
100 lines
2.8 KiB
TOML
[graph]
|
|
targets = [
|
|
"x86_64-unknown-linux-gnu",
|
|
"aarch64-unknown-linux-gnu",
|
|
"aarch64-apple-darwin",
|
|
]
|
|
all-features = false
|
|
no-default-features = false
|
|
|
|
[output]
|
|
feature-depth = 1
|
|
|
|
[advisories]
|
|
ignore = [
|
|
{ id = "RUSTSEC-2024-0449", reason = "unsafe-libyaml comes with serde_yaml, which komorebi-layouts reads Windows-only custom layouts with; nothing here calls it" },
|
|
{ id = "RUSTSEC-2026-0370", reason = "zvariant is maintained inside zbus from zbus 6; komorebi talks to KWin with zbus 5" },
|
|
{ id = "RUSTSEC-2026-0371", reason = "zbus_names is maintained inside zbus from zbus 6; komorebi talks to KWin with zbus 5" },
|
|
{ id = "RUSTSEC-2026-0372", reason = "zvariant_derive is maintained inside zbus from zbus 6; komorebi talks to KWin with zbus 5" },
|
|
{ id = "RUSTSEC-2024-0320", reason = "yaml-rust comes with serde_yaml 0.8 under flavours, which komorebi-themes makes palettes with; not using any yaml features from this library" },
|
|
{ id = "RUSTSEC-2025-0056", reason = "adler comes with the image decoder under flavours, which komorebi-themes makes palettes with; only used for color palette generation" },
|
|
{ id = "RUSTSEC-2026-0192", reason = "ttf-parser comes with the fonts of egui, which komorebi-themes pulls in for its theme types; komorebi draws no text" },
|
|
]
|
|
|
|
[licenses]
|
|
allow = [
|
|
"Apache-2.0",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"CC0-1.0",
|
|
"ISC",
|
|
"MIT",
|
|
"MPL-2.0",
|
|
"OFL-1.1",
|
|
"Ubuntu-font-1.0",
|
|
"Unicode-3.0",
|
|
"Zlib",
|
|
"LicenseRef-Komorebi-2.0",
|
|
]
|
|
confidence-threshold = 0.8
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebi"
|
|
expression = "LicenseRef-Komorebi-2.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebi-client"
|
|
expression = "LicenseRef-Komorebi-2.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebi-hotkeys"
|
|
expression = "LicenseRef-Komorebi-2.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebi-layouts"
|
|
expression = "LicenseRef-Komorebi-2.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebic"
|
|
expression = "LicenseRef-Komorebi-2.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "komorebi-themes"
|
|
expression = "LicenseRef-Komorebi-2.0"
|
|
license-files = []
|
|
|
|
[[licenses.clarify]]
|
|
crate = "version"
|
|
expression = "LicenseRef-Komorebi-2.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/base16_color_scheme",
|
|
"https://github.com/LGUG2Z/catppuccin-egui",
|
|
"https://github.com/LGUG2Z/flavours",
|
|
"https://github.com/LGUG2Z/komorebi",
|
|
"https://github.com/LGUG2Z/whkd",
|
|
]
|