diff --git a/.envrc b/.envrc deleted file mode 100644 index 3550a30f..00000000 --- a/.envrc +++ /dev/null @@ -1 +0,0 @@ -use flake diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 755ef5a8..00000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/target -/tests/outputs -/.direnv -/result -*.html diff --git a/Cargo.lock b/Cargo.lock deleted file mode 100644 index ea22da09..00000000 --- a/Cargo.lock +++ /dev/null @@ -1,1095 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "aho-corasick" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" -dependencies = [ - "memchr", -] - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]] -name = "anstream" -version = "0.6.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" - -[[package]] -name = "anstyle-parse" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" -dependencies = [ - "anstyle", - "once_cell_polyfill", - "windows-sys", -] - -[[package]] -name = "autocfg" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" - -[[package]] -name = "bitflags" -version = "2.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "bstr" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab" -dependencies = [ - "memchr", - "serde", -] - -[[package]] -name = "bumpalo" -version = "3.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510" - -[[package]] -name = "cc" -version = "1.2.51" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a0aeaff4ff1a90589618835a598e545176939b97874f7abc7851caa0618f203" -dependencies = [ - "find-msvc-tools", - "shlex", -] - -[[package]] -name = "cfg-if" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" - -[[package]] -name = "chrono" -version = "0.4.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" -dependencies = [ - "iana-time-zone", - "num-traits", - "windows-link", -] - -[[package]] -name = "chrono-tz" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93698b29de5e97ad0ae26447b344c482a7284c737d9ddc5f9e52b74a336671bb" -dependencies = [ - "chrono", - "chrono-tz-build", - "phf", -] - -[[package]] -name = "chrono-tz-build" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c088aee841df9c3041febbb73934cfc39708749bf96dc827e3359cd39ef11b1" -dependencies = [ - "parse-zoneinfo", - "phf", - "phf_codegen", -] - -[[package]] -name = "clap" -version = "4.5.53" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap_builder" -version = "4.5.53" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.5.49" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" - -[[package]] -name = "colorchoice" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" - -[[package]] -name = "core-foundation-sys" -version = "0.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" - -[[package]] -name = "cpufeatures" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" -dependencies = [ - "libc", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" - -[[package]] -name = "crypto-common" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "deunicode" -version = "1.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abd57806937c9cc163efc8ea3910e00a62e2aeb0b8119f1793a978088f8f6b04" - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer", - "crypto-common", -] - -[[package]] -name = "dyn-clone" -version = "1.0.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" - -[[package]] -name = "find-msvc-tools" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645cbb3a84e60b7531617d5ae4e57f7e27308f6445f5abf653209ea76dec8dff" - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getopts" -version = "0.2.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df" -dependencies = [ - "unicode-width", -] - -[[package]] -name = "getrandom" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - -[[package]] -name = "globset" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52dfc19153a48bde0cbd630453615c8151bce3a5adfac7a0aebfbf0a1e1f57e3" -dependencies = [ - "aho-corasick", - "bstr", - "log", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "globwalk" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf760ebf69878d9fd8f110c89703d90ce35095324d1f1edcb595c63945ee757" -dependencies = [ - "bitflags", - "ignore", - "walkdir", -] - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "humansize" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cb51c9a029ddc91b07a787f1d86b53ccfa49b0e86688c946ebe8d3555685dd7" -dependencies = [ - "libm", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "log", - "wasm-bindgen", - "windows-core", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" -dependencies = [ - "cc", -] - -[[package]] -name = "ignore" -version = "0.4.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3d782a365a015e0f5c04902246139249abf769125006fbe7649e2ee88169b4a" -dependencies = [ - "crossbeam-deque", - "globset", - "log", - "memchr", - "regex-automata", - "same-file", - "walkdir", - "winapi-util", -] - -[[package]] -name = "is_terminal_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" - -[[package]] -name = "itoa" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee5b5339afb4c41626dde77b7a611bd4f2c202b897852b4bcf5d03eddc61010" - -[[package]] -name = "js-sys" -version = "0.3.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" -dependencies = [ - "once_cell", - "wasm-bindgen", -] - -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - -[[package]] -name = "libc" -version = "0.2.178" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" - -[[package]] -name = "libm" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" - -[[package]] -name = "log" -version = "0.4.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" - -[[package]] -name = "memchr" -version = "2.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", -] - -[[package]] -name = "once_cell" -version = "1.21.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" - -[[package]] -name = "once_cell_polyfill" -version = "1.70.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" - -[[package]] -name = "parse-zoneinfo" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f2a05b18d44e2957b88f96ba460715e295bc1d7510468a2f3d3b44535d26c24" -dependencies = [ - "regex", -] - -[[package]] -name = "percent-encoding" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" - -[[package]] -name = "pest" -version = "2.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22" -dependencies = [ - "memchr", - "ucd-trie", -] - -[[package]] -name = "pest_derive" -version = "2.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "pest_meta" -version = "2.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82" -dependencies = [ - "pest", - "sha2", -] - -[[package]] -name = "phf" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" -dependencies = [ - "phf_shared", -] - -[[package]] -name = "phf_codegen" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" -dependencies = [ - "phf_generator", - "phf_shared", -] - -[[package]] -name = "phf_generator" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" -dependencies = [ - "phf_shared", - "rand", -] - -[[package]] -name = "phf_shared" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" -dependencies = [ - "siphasher", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] - -[[package]] -name = "proc-macro2" -version = "1.0.103" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "pulldown-cmark" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e8bbe1a966bd2f362681a44f6edce3c2310ac21e4d5067a6e7ec396297a6ea0" -dependencies = [ - "bitflags", - "getopts", - "memchr", - "pulldown-cmark-escape", - "unicase", -] - -[[package]] -name = "pulldown-cmark-escape" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "007d8adb5ddab6f8e3f491ac63566a7d5002cc7ed73901f72057943fa71ae1ae" - -[[package]] -name = "quote" -version = "1.0.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - -[[package]] -name = "ref-cast" -version = "1.0.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" -dependencies = [ - "ref-cast-impl", -] - -[[package]] -name = "ref-cast-impl" -version = "1.0.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "regex" -version = "1.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" - -[[package]] -name = "rustversion" -version = "1.0.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "schemars" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54e910108742c57a770f492731f99be216a52fadd361b06c8fb59d74ccc267d2" -dependencies = [ - "dyn-clone", - "ref-cast", - "schemars_derive", - "serde", - "serde_json", -] - -[[package]] -name = "schemars-docgen" -version = "0.1.0" -dependencies = [ - "clap", - "pulldown-cmark", - "schemars", - "serde", - "serde_json", - "tera", - "thiserror", -] - -[[package]] -name = "schemars_derive" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4908ad288c5035a8eb12cfdf0d49270def0a268ee162b75eeee0f85d155a7c45" -dependencies = [ - "proc-macro2", - "quote", - "serde_derive_internals", - "syn", -] - -[[package]] -name = "serde" -version = "1.0.228" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" -dependencies = [ - "serde_core", - "serde_derive", -] - -[[package]] -name = "serde_core" -version = "1.0.228" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.228" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_derive_internals" -version = "0.29.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.147" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6af14725505314343e673e9ecb7cd7e8a36aa9791eb936235a3567cc31447ae4" -dependencies = [ - "itoa", - "memchr", - "serde", - "serde_core", - "zmij", -] - -[[package]] -name = "sha2" -version = "0.10.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - -[[package]] -name = "siphasher" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" - -[[package]] -name = "slug" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "882a80f72ee45de3cc9a5afeb2da0331d58df69e4e7d8eeb5d3c7784ae67e724" -dependencies = [ - "deunicode", - "wasm-bindgen", -] - -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - -[[package]] -name = "syn" -version = "2.0.111" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "tera" -version = "1.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8004bca281f2d32df3bacd59bc67b312cb4c70cea46cbd79dbe8ac5ed206722" -dependencies = [ - "chrono", - "chrono-tz", - "globwalk", - "humansize", - "lazy_static", - "percent-encoding", - "pest", - "pest_derive", - "rand", - "regex", - "serde", - "serde_json", - "slug", - "unicode-segmentation", -] - -[[package]] -name = "thiserror" -version = "2.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "typenum" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" - -[[package]] -name = "ucd-trie" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" - -[[package]] -name = "unicase" -version = "2.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" - -[[package]] -name = "unicode-ident" -version = "1.0.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" - -[[package]] -name = "unicode-segmentation" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" - -[[package]] -name = "unicode-width" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" - -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "walkdir" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "wasi" -version = "0.11.1+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" - -[[package]] -name = "wasm-bindgen" -version = "0.2.106" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" -dependencies = [ - "cfg-if", - "once_cell", - "rustversion", - "wasm-bindgen-macro", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.106" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.106" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" -dependencies = [ - "bumpalo", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.106" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "winapi-util" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "windows-core" -version = "0.62.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" -dependencies = [ - "windows-implement", - "windows-interface", - "windows-link", - "windows-result", - "windows-strings", -] - -[[package]] -name = "windows-implement" -version = "0.60.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-interface" -version = "0.59.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-link" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" - -[[package]] -name = "windows-result" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" -dependencies = [ - "windows-link", -] - -[[package]] -name = "windows-strings" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" -dependencies = [ - "windows-link", -] - -[[package]] -name = "windows-sys" -version = "0.61.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" -dependencies = [ - "windows-link", -] - -[[package]] -name = "zerocopy" -version = "0.8.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.8.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "zmij" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0095ecd462946aa3927d9297b63ef82fb9a5316d7a37d134eeb36e58228615a" diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index c96f9a11..00000000 --- a/LICENSE.md +++ /dev/null @@ -1,108 +0,0 @@ -# Komorebi License - -Version 2.0.0 - -## Acceptance - -In order to get any license under these terms, you must agree -to them as both strict obligations and conditions to all -your licenses. - -## Copyright License - -The licensor grants you a copyright license for the software -to do everything you might do with the software that would -otherwise infringe the licensor's copyright in it for any -permitted purpose. However, you may only distribute the source -code of the software according to the [Distribution License]( -#distribution-license), you may only make changes according -to the [Changes License](#changes-license), and you may not -otherwise distribute the software or new works based on the -software. - -## Distribution License - -The licensor grants you an additional copyright license to -distribute copies of the source code of the software. Your -license to distribute covers distributing the source code of -the software with changes permitted by the [Changes License]( -#changes-license). - -## Changes License - -The licensor grants you an additional copyright license to -make changes for any permitted purpose. - -## Patent License - -The licensor grants you a patent license for the software that -covers patent claims the licensor can license, or becomes able -to license, that you would infringe by using the software. - -## Personal Uses - -Personal use for research, experiment, and testing for -the benefit of public knowledge, personal study, private -entertainment, hobby projects, amateur pursuits, or religious -observance, without any anticipated commercial application, -is use for a permitted purpose. - -## Fair Use - -You may have "fair use" rights for the software under the -law. These terms do not limit them. - -## No Other Rights - -These terms do not allow you to sublicense or transfer any of -your licenses to anyone else, or prevent the licensor from -granting licenses to anyone else. These terms do not imply -any other licenses. - -## Patent Defense - -If you make any written claim that the software infringes or -contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If -your company makes such a claim, your patent license ends -immediately for work on behalf of your company. - -## Violations - -The first time you are notified in writing that you have -violated any of these terms, or done anything with the software -not covered by your licenses, your licenses can nonetheless -continue if you come into full compliance with these terms, -and take practical steps to correct past violations, within -32 days of receiving notice. Otherwise, all your licenses -end immediately. - -## No Liability - -***As far as the law allows, the software comes as is, without -any warranty or condition, and the licensor will not be liable -to you for any damages arising out of these terms or the use -or nature of the software, under any kind of legal claim.*** - -## Definitions - -The **licensor** is the individual or entity offering these -terms, and the **software** is the software the licensor makes -available under these terms. - -**You** refers to the individual or entity agreeing to these -terms. - -**Your company** is any legal entity, sole proprietorship, -or other kind of organization that you work for, plus all -organizations that have control over, are under the control of, -or are under common control with that organization. **Control** -means ownership of substantially all the assets of an entity, -or the power to direct its management and policies by vote, -contract, or otherwise. Control can be direct or indirect. - -**Your licenses** are all the licenses granted to you for the -software under these terms. - -**Use** means anything you do with the software requiring one -of your licenses. diff --git a/Cargo.toml b/crates/schemars-docgen/Cargo.toml similarity index 100% rename from Cargo.toml rename to crates/schemars-docgen/Cargo.toml diff --git a/ENUMS.md b/crates/schemars-docgen/ENUMS.md similarity index 100% rename from ENUMS.md rename to crates/schemars-docgen/ENUMS.md diff --git a/src/lib.rs b/crates/schemars-docgen/src/lib.rs similarity index 100% rename from src/lib.rs rename to crates/schemars-docgen/src/lib.rs diff --git a/src/main.rs b/crates/schemars-docgen/src/main.rs similarity index 100% rename from src/main.rs rename to crates/schemars-docgen/src/main.rs diff --git a/src/mdx_generator.rs b/crates/schemars-docgen/src/mdx_generator.rs similarity index 100% rename from src/mdx_generator.rs rename to crates/schemars-docgen/src/mdx_generator.rs diff --git a/src/prepare.rs b/crates/schemars-docgen/src/prepare.rs similarity index 100% rename from src/prepare.rs rename to crates/schemars-docgen/src/prepare.rs diff --git a/src/templates/mdx_base.md b/crates/schemars-docgen/src/templates/mdx_base.md similarity index 100% rename from src/templates/mdx_base.md rename to crates/schemars-docgen/src/templates/mdx_base.md diff --git a/src/templates/mdx_macros.md b/crates/schemars-docgen/src/templates/mdx_macros.md similarity index 100% rename from src/templates/mdx_macros.md rename to crates/schemars-docgen/src/templates/mdx_macros.md diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 6d875d54..00000000 --- a/flake.lock +++ /dev/null @@ -1,179 +0,0 @@ -{ - "nodes": { - "crane": { - "locked": { - "lastModified": 1766194365, - "narHash": "sha256-4AFsUZ0kl6MXSm4BaQgItD0VGlEKR3iq7gIaL7TjBvc=", - "owner": "ipetkov", - "repo": "crane", - "rev": "7d8ec2c71771937ab99790b45e6d9b93d15d9379", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1761588595, - "narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-parts": { - "inputs": { - "nixpkgs-lib": "nixpkgs-lib" - }, - "locked": { - "lastModified": 1765835352, - "narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "a34fae9c08a15ad73f295041fec82323541400a9", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "git-hooks-nix": { - "inputs": { - "flake-compat": "flake-compat", - "gitignore": "gitignore", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1765911976, - "narHash": "sha256-t3T/xm8zstHRLx+pIHxVpQTiySbKqcQbK+r+01XVKc0=", - "owner": "cachix", - "repo": "git-hooks.nix", - "rev": "b68b780b69702a090c8bb1b973bab13756cc7a27", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "git-hooks.nix", - "type": "github" - } - }, - "gitignore": { - "inputs": { - "nixpkgs": [ - "git-hooks-nix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1709087332, - "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1766309749, - "narHash": "sha256-3xY8CZ4rSnQ0NqGhMKAy5vgC+2IVK0NoVEzDoOh4DA4=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "a6531044f6d0bef691ea18d4d4ce44d0daa6e816", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-lib": { - "locked": { - "lastModified": 1765674936, - "narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=", - "owner": "nix-community", - "repo": "nixpkgs.lib", - "rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixpkgs.lib", - "type": "github" - } - }, - "root": { - "inputs": { - "crane": "crane", - "flake-parts": "flake-parts", - "git-hooks-nix": "git-hooks-nix", - "nixpkgs": "nixpkgs", - "rust-overlay": "rust-overlay", - "treefmt-nix": "treefmt-nix" - } - }, - "rust-overlay": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1766544144, - "narHash": "sha256-5ppfEyZqX6FMluZHty7Dvw4xN10vLq1yQosp7dGG/28=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "5359a4fdc3fa9baa2edcf49758d404dfeeca7743", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1766000401, - "narHash": "sha256-+cqN4PJz9y0JQXfAK5J1drd0U05D5fcAGhzhfVrDlsI=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "42d96e75aa56a3f70cab7e7dc4a32868db28e8fd", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/nix/docgen/build.nix similarity index 100% rename from flake.nix rename to nix/docgen/build.nix diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index 292fe499..00000000 --- a/rust-toolchain.toml +++ /dev/null @@ -1,2 +0,0 @@ -[toolchain] -channel = "stable" diff --git a/rustfmt.toml b/rustfmt.toml deleted file mode 100644 index 63df91e0..00000000 --- a/rustfmt.toml +++ /dev/null @@ -1 +0,0 @@ -imports_granularity = "Item" diff --git a/schema.json b/schema.json deleted file mode 100644 index e94dd684..00000000 --- a/schema.json +++ /dev/null @@ -1,2572 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "StaticConfig", - "description": "The `komorebi.json` static configuration file reference for `v0.1.40`", - "type": "object", - "properties": { - "animation": { - "description": "Animations configuration options", - "anyOf": [ - { - "$ref": "#/$defs/AnimationsConfig" - }, - { - "type": "null" - } - ] - }, - "app_specific_configuration_path": { - "description": "Path to applications.json from komorebi-application-specific-configurations (default: None)", - "anyOf": [ - { - "$ref": "#/$defs/AppSpecificConfigurationPath" - }, - { - "type": "null" - } - ] - }, - "bar_configurations": { - "description": "Komorebi status bar configuration files for multiple instances on different monitors", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/PathBuf" - } - }, - "border": { - "description": "Display window borders (default: true)", - "type": [ - "boolean", - "null" - ] - }, - "border_colours": { - "description": "Window border colours for different container types (has no effect if a theme is defined)", - "anyOf": [ - { - "$ref": "#/$defs/BorderColours" - }, - { - "type": "null" - } - ] - }, - "border_implementation": { - "description": "Window border implementation (default: Komorebi)", - "anyOf": [ - { - "$ref": "#/$defs/BorderImplementation" - }, - { - "type": "null" - } - ] - }, - "border_offset": { - "description": "Offset of window borders (default: -1)", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "border_overflow_applications": { - "description": "Identify border overflow applications", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - }, - "border_style": { - "description": "Window border style (default: System)", - "anyOf": [ - { - "$ref": "#/$defs/BorderStyle" - }, - { - "type": "null" - } - ] - }, - "border_width": { - "description": "Width of window borders (default: 8)", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "border_z_order": { - "description": "DEPRECATED from v0.1.31: no longer required", - "anyOf": [ - { - "$ref": "#/$defs/ZOrder" - }, - { - "type": "null" - } - ], - "deprecated": true - }, - "cross_boundary_behaviour": { - "description": "Determine what happens when an action is called on a window at a monitor boundary (default: Monitor)", - "anyOf": [ - { - "$ref": "#/$defs/CrossBoundaryBehaviour" - }, - { - "type": "null" - } - ] - }, - "cross_monitor_move_behaviour": { - "description": "Determine what happens when a window is moved across a monitor boundary (default: Swap)", - "anyOf": [ - { - "$ref": "#/$defs/MoveBehaviour" - }, - { - "type": "null" - } - ] - }, - "default_container_padding": { - "description": "Global default container padding (default: 10)", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "default_workspace_padding": { - "description": "Global default workspace padding (default: 10)", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "display_index_preferences": { - "description": "Set display index preferences", - "type": [ - "object", - "null" - ], - "additionalProperties": false, - "patternProperties": { - "^\\d+$": { - "type": "string" - } - } - }, - "float_override": { - "description": "Enable or disable float override, which makes it so every new window opens in floating mode\n(default: false)", - "type": [ - "boolean", - "null" - ] - }, - "float_override_placement": { - "description": "Determines the `Placement` to be used when spawning a window with float override active\n(default: None)", - "anyOf": [ - { - "$ref": "#/$defs/Placement" - }, - { - "type": "null" - } - ] - }, - "float_rule_placement": { - "description": "Determines the `Placement` to be used when spawning a window that matches a\n`floating_applications` rule (default: None)", - "anyOf": [ - { - "$ref": "#/$defs/Placement" - }, - { - "type": "null" - } - ] - }, - "floating_applications": { - "description": "Identify applications which should be managed as floating windows", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - }, - "floating_layer_behaviour": { - "description": "Determines what happens on a new window when on the `FloatingLayer`\n(default: Tile)", - "anyOf": [ - { - "$ref": "#/$defs/FloatingLayerBehaviour" - }, - { - "type": "null" - } - ] - }, - "floating_layer_placement": { - "description": "Determines the `Placement` to be used when spawning a window on the floating layer with the\n`FloatingLayerBehaviour` set to `FloatingLayerBehaviour::Float` (default: Center)", - "anyOf": [ - { - "$ref": "#/$defs/Placement" - }, - { - "type": "null" - } - ] - }, - "floating_window_aspect_ratio": { - "description": "Aspect ratio to resize with when toggling floating mode for a window", - "anyOf": [ - { - "$ref": "#/$defs/AspectRatio" - }, - { - "type": "null" - } - ] - }, - "focus_follows_mouse": { - "description": "END OF LIFE FEATURE: Use https://github.com/LGUG2Z/masir instead", - "anyOf": [ - { - "$ref": "#/$defs/FocusFollowsMouseImplementation" - }, - { - "type": "null" - } - ], - "deprecated": true - }, - "global_work_area_offset": { - "description": "Global work area (space used for tiling) offset (default: None)", - "anyOf": [ - { - "$ref": "#/$defs/Rect" - }, - { - "type": "null" - } - ] - }, - "ignore_rules": { - "description": "Individual window floating rules", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - }, - "invisible_borders": { - "description": "DEPRECATED from v0.1.22: no longer required", - "anyOf": [ - { - "$ref": "#/$defs/Rect" - }, - { - "type": "null" - } - ], - "deprecated": true - }, - "layered_applications": { - "description": "Identify applications that have the `WS_EX_LAYERED` extended window style", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - }, - "manage_rules": { - "description": "Individual window force-manage rules", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - }, - "minimum_window_height": { - "description": "DISCOURAGED: Minimum height for a window to be eligible for tiling", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "minimum_window_width": { - "description": "DISCOURAGED: Minimum width for a window to be eligible for tiling", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "monitor_index_preferences": { - "description": "Set monitor index preferences", - "type": [ - "object", - "null" - ], - "additionalProperties": false, - "patternProperties": { - "^\\d+$": { - "$ref": "#/$defs/Rect" - } - } - }, - "monitors": { - "description": "Monitor and workspace configurations", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MonitorConfig" - } - }, - "mouse_follows_focus": { - "description": "Enable or disable mouse follows focus (default: true)", - "type": [ - "boolean", - "null" - ] - }, - "object_name_change_applications": { - "description": "Identify applications that send `EVENT_OBJECT_NAMECHANGE` on launch (very rare)", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - }, - "object_name_change_title_ignore_list": { - "description": "Do not process `EVENT_OBJECT_NAMECHANGE` events as Show events for identified applications matching these title regexes", - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "remove_titlebar_applications": { - "description": "HEAVILY DISCOURAGED: Identify applications for which komorebi should forcibly remove title bars", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - }, - "resize_delta": { - "description": "Delta to resize windows by (default 50)", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "slow_application_compensation_time": { - "description": "How long to wait when compensating for slow applications, in milliseconds (default: 20)", - "type": [ - "integer", - "null" - ], - "format": "uint64", - "minimum": 0 - }, - "slow_application_identifiers": { - "description": "Identify applications which are slow to send initial event notifications", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - }, - "stackbar": { - "description": "Stackbar configuration options", - "anyOf": [ - { - "$ref": "#/$defs/StackbarConfig" - }, - { - "type": "null" - } - ] - }, - "theme": { - "description": "Theme configuration options", - "anyOf": [ - { - "$ref": "#/$defs/KomorebiTheme" - }, - { - "type": "null" - } - ] - }, - "toggle_float_placement": { - "description": "Determines the placement of a new window when toggling to float (default: CenterAndResize)", - "anyOf": [ - { - "$ref": "#/$defs/Placement" - }, - { - "type": "null" - } - ] - }, - "transparency": { - "description": "Add transparency to unfocused windows (default: false)", - "type": [ - "boolean", - "null" - ] - }, - "transparency_alpha": { - "description": "Alpha value for unfocused window transparency [[0-255]] (default: 200)", - "type": [ - "integer", - "null" - ], - "format": "uint8", - "maximum": 255, - "minimum": 0 - }, - "transparency_ignore_rules": { - "description": "Individual window transparency ignore rules", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - }, - "tray_and_multi_window_applications": { - "description": "Identify tray and multi-window applications", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - }, - "unmanaged_window_operation_behaviour": { - "description": "Determine what happens when commands are sent while an unmanaged window is in the foreground (default: Op)", - "anyOf": [ - { - "$ref": "#/$defs/OperationBehaviour" - }, - { - "type": "null" - } - ] - }, - "window_container_behaviour": { - "description": "Determine what happens when a new window is opened (default: Create)", - "anyOf": [ - { - "$ref": "#/$defs/WindowContainerBehaviour" - }, - { - "type": "null" - } - ] - }, - "window_handling_behaviour": { - "description": "Which Windows API behaviour to use when manipulating windows (default: Sync)", - "anyOf": [ - { - "$ref": "#/$defs/WindowHandlingBehaviour" - }, - { - "type": "null" - } - ] - }, - "window_hiding_behaviour": { - "description": "Which Windows signal to use when hiding windows (default: Cloak)", - "anyOf": [ - { - "$ref": "#/$defs/HidingBehaviour" - }, - { - "type": "null" - } - ] - } - }, - "$defs": { - "AnimationStyle": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Linear", - "EaseInSine", - "EaseOutSine", - "EaseInOutSine", - "EaseInQuad", - "EaseOutQuad", - "EaseInOutQuad", - "EaseInCubic", - "EaseInOutCubic", - "EaseInQuart", - "EaseOutQuart", - "EaseInOutQuart", - "EaseInQuint", - "EaseOutQuint", - "EaseInOutQuint", - "EaseInExpo", - "EaseOutExpo", - "EaseInOutExpo", - "EaseInCirc", - "EaseOutCirc", - "EaseInOutCirc", - "EaseInBack", - "EaseOutBack", - "EaseInOutBack", - "EaseInElastic", - "EaseOutElastic", - "EaseInOutElastic", - "EaseInBounce", - "EaseOutBounce", - "EaseInOutBounce" - ] - }, - { - "type": "object", - "properties": { - "CubicBezier": { - "type": "array", - "maxItems": 4, - "minItems": 4, - "prefixItems": [ - { - "type": "number", - "format": "double" - }, - { - "type": "number", - "format": "double" - }, - { - "type": "number", - "format": "double" - }, - { - "type": "number", - "format": "double" - } - ] - } - }, - "additionalProperties": false, - "required": [ - "CubicBezier" - ] - } - ] - }, - "AnimationsConfig": { - "type": "object", - "properties": { - "duration": { - "description": "Set the animation duration in ms (default: 250)", - "anyOf": [ - { - "$ref": "#/$defs/PerAnimationPrefixConfig2" - }, - { - "type": "null" - } - ] - }, - "enabled": { - "description": "Enable or disable animations (default: false)", - "$ref": "#/$defs/PerAnimationPrefixConfig" - }, - "fps": { - "description": "Set the animation FPS (default: 60)", - "type": [ - "integer", - "null" - ], - "format": "uint64", - "minimum": 0 - }, - "style": { - "description": "Set the animation style (default: Linear)", - "anyOf": [ - { - "$ref": "#/$defs/PerAnimationPrefixConfig3" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "enabled" - ] - }, - "AppSpecificConfigurationPath": { - "anyOf": [ - { - "description": "A single `applications.json` file", - "$ref": "#/$defs/PathBuf" - }, - { - "description": "Multiple `applications.json` files", - "type": "array", - "items": { - "$ref": "#/$defs/PathBuf" - } - } - ] - }, - "ApplicationIdentifier": { - "type": "string", - "enum": [ - "Exe", - "Class", - "Title", - "Path" - ] - }, - "AspectRatio": { - "anyOf": [ - { - "description": "A predefined aspect ratio", - "$ref": "#/$defs/PredefinedAspectRatio" - }, - { - "description": "A custom W:H aspect ratio", - "type": "array", - "maxItems": 2, - "minItems": 2, - "prefixItems": [ - { - "type": "integer", - "format": "int32" - }, - { - "type": "integer", - "format": "int32" - } - ] - } - ] - }, - "Axis": { - "type": "string", - "enum": [ - "Horizontal", - "Vertical", - "HorizontalAndVertical" - ] - }, - "Base16": { - "type": "string", - "enum": [ - "3024", - "Apathy", - "Apprentice", - "Ashes", - "AtelierCaveLight", - "AtelierCave", - "AtelierDuneLight", - "AtelierDune", - "AtelierEstuaryLight", - "AtelierEstuary", - "AtelierForestLight", - "AtelierForest", - "AtelierHeathLight", - "AtelierHeath", - "AtelierLakesideLight", - "AtelierLakeside", - "AtelierPlateauLight", - "AtelierPlateau", - "AtelierSavannaLight", - "AtelierSavanna", - "AtelierSeasideLight", - "AtelierSeaside", - "AtelierSulphurpoolLight", - "AtelierSulphurpool", - "Atlas", - "AyuDark", - "AyuLight", - "AyuMirage", - "Aztec", - "Bespin", - "BlackMetalBathory", - "BlackMetalBurzum", - "BlackMetalDarkFuneral", - "BlackMetalGorgoroth", - "BlackMetalImmortal", - "BlackMetalKhold", - "BlackMetalMarduk", - "BlackMetalMayhem", - "BlackMetalNile", - "BlackMetalVenom", - "BlackMetal", - "Blueforest", - "Blueish", - "Brewer", - "Bright", - "Brogrammer", - "BrushtreesDark", - "Brushtrees", - "Caroline", - "CatppuccinFrappe", - "CatppuccinLatte", - "CatppuccinMacchiato", - "CatppuccinMocha", - "Chalk", - "Circus", - "ClassicDark", - "ClassicLight", - "Codeschool", - "Colors", - "Cupcake", - "Cupertino", - "DaOneBlack", - "DaOneGray", - "DaOneOcean", - "DaOnePaper", - "DaOneSea", - "DaOneWhite", - "DanqingLight", - "Danqing", - "Darcula", - "Darkmoss", - "Darktooth", - "Darkviolet", - "Decaf", - "DefaultDark", - "DefaultLight", - "Dirtysea", - "Dracula", - "EdgeDark", - "EdgeLight", - "Eighties", - "EmbersLight", - "Embers", - "Emil", - "EquilibriumDark", - "EquilibriumGrayDark", - "EquilibriumGrayLight", - "EquilibriumLight", - "Eris", - "Espresso", - "EvaDim", - "Eva", - "EvenokDark", - "EverforestDarkHard", - "Everforest", - "Flat", - "Framer", - "FruitSoda", - "Gigavolt", - "Github", - "GoogleDark", - "GoogleLight", - "Gotham", - "GrayscaleDark", - "GrayscaleLight", - "Greenscreen", - "Gruber", - "GruvboxDarkHard", - "GruvboxDarkMedium", - "GruvboxDarkPale", - "GruvboxDarkSoft", - "GruvboxLightHard", - "GruvboxLightMedium", - "GruvboxLightSoft", - "GruvboxMaterialDarkHard", - "GruvboxMaterialDarkMedium", - "GruvboxMaterialDarkSoft", - "GruvboxMaterialLightHard", - "GruvboxMaterialLightMedium", - "GruvboxMaterialLightSoft", - "Hardcore", - "Harmonic16Dark", - "Harmonic16Light", - "HeetchLight", - "Heetch", - "Helios", - "Hopscotch", - "HorizonDark", - "HorizonLight", - "HorizonTerminalDark", - "HorizonTerminalLight", - "HumanoidDark", - "HumanoidLight", - "IaDark", - "IaLight", - "Icy", - "Irblack", - "Isotope", - "Jabuti", - "Kanagawa", - "Katy", - "Kimber", - "Lime", - "Macintosh", - "Marrakesh", - "Materia", - "MaterialDarker", - "MaterialLighter", - "MaterialPalenight", - "MaterialVivid", - "Material", - "MeasuredDark", - "MeasuredLight", - "MellowPurple", - "MexicoLight", - "Mocha", - "Monokai", - "Moonlight", - "Mountain", - "Nebula", - "NordLight", - "Nord", - "Nova", - "Ocean", - "Oceanicnext", - "OneLight", - "OnedarkDark", - "Onedark", - "OutrunDark", - "OxocarbonDark", - "OxocarbonLight", - "Pandora", - "PapercolorDark", - "PapercolorLight", - "Paraiso", - "Pasque", - "Phd", - "Pico", - "Pinky", - "Pop", - "Porple", - "PreciousDarkEleven", - "PreciousDarkFifteen", - "PreciousLightWarm", - "PreciousLightWhite", - "PrimerDarkDimmed", - "PrimerDark", - "PrimerLight", - "Purpledream", - "Qualia", - "Railscasts", - "Rebecca", - "RosePineDawn", - "RosePineMoon", - "RosePine", - "Saga", - "Sagelight", - "Sakura", - "Sandcastle", - "SelenizedBlack", - "SelenizedDark", - "SelenizedLight", - "SelenizedWhite", - "Seti", - "ShadesOfPurple", - "ShadesmearDark", - "ShadesmearLight", - "Shapeshifter", - "SilkDark", - "SilkLight", - "Snazzy", - "SolarflareLight", - "Solarflare", - "SolarizedDark", - "SolarizedLight", - "Spaceduck", - "Spacemacs", - "Sparky", - "StandardizedDark", - "StandardizedLight", - "Stella", - "StillAlive", - "Summercamp", - "SummerfruitDark", - "SummerfruitLight", - "SynthMidnightDark", - "SynthMidnightLight", - "Tango", - "Tarot", - "Tender", - "TerracottaDark", - "Terracotta", - "TokyoCityDark", - "TokyoCityLight", - "TokyoCityTerminalDark", - "TokyoCityTerminalLight", - "TokyoNightDark", - "TokyoNightLight", - "TokyoNightMoon", - "TokyoNightStorm", - "TokyoNightTerminalDark", - "TokyoNightTerminalLight", - "TokyoNightTerminalStorm", - "TokyodarkTerminal", - "Tokyodark", - "TomorrowNightEighties", - "TomorrowNight", - "Tomorrow", - "Tube", - "Twilight", - "UnikittyDark", - "UnikittyLight", - "UnikittyReversible", - "Uwunicorn", - "Vesper", - "Vice", - "Vulcan", - "Windows10Light", - "Windows10", - "Windows95Light", - "Windows95", - "WindowsHighcontrastLight", - "WindowsHighcontrast", - "WindowsNtLight", - "WindowsNt", - "Woodland", - "XcodeDusk", - "Zenbones", - "Zenburn" - ] - }, - "Base16ColourPalette": { - "type": "object", - "properties": { - "base_00": { - "$ref": "#/$defs/Colour" - }, - "base_01": { - "$ref": "#/$defs/Colour" - }, - "base_02": { - "$ref": "#/$defs/Colour" - }, - "base_03": { - "$ref": "#/$defs/Colour" - }, - "base_04": { - "$ref": "#/$defs/Colour" - }, - "base_05": { - "$ref": "#/$defs/Colour" - }, - "base_06": { - "$ref": "#/$defs/Colour" - }, - "base_07": { - "$ref": "#/$defs/Colour" - }, - "base_08": { - "$ref": "#/$defs/Colour" - }, - "base_09": { - "$ref": "#/$defs/Colour" - }, - "base_0a": { - "$ref": "#/$defs/Colour" - }, - "base_0b": { - "$ref": "#/$defs/Colour" - }, - "base_0c": { - "$ref": "#/$defs/Colour" - }, - "base_0d": { - "$ref": "#/$defs/Colour" - }, - "base_0e": { - "$ref": "#/$defs/Colour" - }, - "base_0f": { - "$ref": "#/$defs/Colour" - } - }, - "required": [ - "base_00", - "base_01", - "base_02", - "base_03", - "base_04", - "base_05", - "base_06", - "base_07", - "base_08", - "base_09", - "base_0a", - "base_0b", - "base_0c", - "base_0d", - "base_0e", - "base_0f" - ] - }, - "Base16Value": { - "type": "string", - "enum": [ - "Base00", - "Base01", - "Base02", - "Base03", - "Base04", - "Base05", - "Base06", - "Base07", - "Base08", - "Base09", - "Base0A", - "Base0B", - "Base0C", - "Base0D", - "Base0E", - "Base0F" - ] - }, - "BorderColours": { - "type": "object", - "properties": { - "floating": { - "description": "Border colour when the container is in floating mode", - "anyOf": [ - { - "$ref": "#/$defs/Colour" - }, - { - "type": "null" - } - ] - }, - "monocle": { - "description": "Border colour when the container is in monocle mode", - "anyOf": [ - { - "$ref": "#/$defs/Colour" - }, - { - "type": "null" - } - ] - }, - "single": { - "description": "Border colour when the container contains a single window", - "anyOf": [ - { - "$ref": "#/$defs/Colour" - }, - { - "type": "null" - } - ] - }, - "stack": { - "description": "Border colour when the container contains multiple windows", - "anyOf": [ - { - "$ref": "#/$defs/Colour" - }, - { - "type": "null" - } - ] - }, - "unfocused": { - "description": "Border colour when the container is unfocused", - "anyOf": [ - { - "$ref": "#/$defs/Colour" - }, - { - "type": "null" - } - ] - }, - "unfocused_locked": { - "description": "Border colour when the container is unfocused and locked", - "anyOf": [ - { - "$ref": "#/$defs/Colour" - }, - { - "type": "null" - } - ] - } - } - }, - "BorderImplementation": { - "oneOf": [ - { - "description": "Use the adjustable komorebi border implementation", - "type": "string", - "const": "Komorebi" - }, - { - "description": "Use the thin Windows accent border implementation", - "type": "string", - "const": "Windows" - } - ] - }, - "BorderStyle": { - "oneOf": [ - { - "description": "Use the system border style", - "type": "string", - "const": "System" - }, - { - "description": "Use the Windows 11-style rounded borders", - "type": "string", - "const": "Rounded" - }, - { - "description": "Use the Windows 10-style square borders", - "type": "string", - "const": "Square" - } - ] - }, - "Catppuccin": { - "type": "string", - "enum": [ - "Frappe", - "Latte", - "Macchiato", - "Mocha" - ] - }, - "CatppuccinValue": { - "type": "string", - "enum": [ - "Rosewater", - "Flamingo", - "Pink", - "Mauve", - "Red", - "Maroon", - "Peach", - "Yellow", - "Green", - "Teal", - "Sky", - "Sapphire", - "Blue", - "Lavender", - "Text", - "Subtext1", - "Subtext0", - "Overlay2", - "Overlay1", - "Overlay0", - "Surface2", - "Surface1", - "Surface0", - "Base", - "Mantle", - "Crust" - ] - }, - "Colour": { - "anyOf": [ - { - "description": "Colour represented as RGB", - "$ref": "#/$defs/Rgb" - }, - { - "description": "Colour represented as Hex", - "$ref": "#/$defs/Hex" - } - ] - }, - "CrossBoundaryBehaviour": { - "oneOf": [ - { - "description": "Attempt to perform actions across a workspace boundary", - "type": "string", - "const": "Workspace" - }, - { - "description": "Attempt to perform actions across a monitor boundary", - "type": "string", - "const": "Monitor" - } - ] - }, - "DefaultLayout": { - "type": "string", - "enum": [ - "BSP", - "Columns", - "Rows", - "VerticalStack", - "HorizontalStack", - "UltrawideVerticalStack", - "Grid", - "RightMainVerticalStack", - "Scrolling" - ] - }, - "FloatingLayerBehaviour": { - "oneOf": [ - { - "description": "Tile new windows (unless they match a float rule or float override is active)", - "type": "string", - "const": "Tile" - }, - { - "description": "Float new windows", - "type": "string", - "const": "Float" - } - ] - }, - "FocusFollowsMouseImplementation": { - "oneOf": [ - { - "description": "A custom FFM implementation (slightly more CPU-intensive)", - "type": "string", - "const": "Komorebi" - }, - { - "description": "The native (legacy) Windows FFM implementation", - "type": "string", - "const": "Windows" - } - ] - }, - "GridLayoutOptions": { - "type": "object", - "properties": { - "rows": { - "description": "Maximum number of rows per grid column", - "type": "integer", - "format": "uint", - "minimum": 0 - } - }, - "required": [ - "rows" - ] - }, - "Hex": { - "type": "string", - "format": "color-hex" - }, - "HidingBehaviour": { - "oneOf": [ - { - "description": "END OF LIFE FEATURE: Use the `SW_HIDE` flag to hide windows when switching workspaces (has issues with Electron apps)", - "type": "string", - "const": "Hide", - "deprecated": true - }, - { - "description": "Use the `SW_MINIMIZE` flag to hide windows when switching workspaces (has issues with frequent workspace switching)", - "type": "string", - "const": "Minimize" - }, - { - "description": "Use the undocumented SetCloak Win32 function to hide windows when switching workspaces", - "type": "string", - "const": "Cloak" - } - ] - }, - "IdWithIdentifier": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "kind": { - "$ref": "#/$defs/ApplicationIdentifier" - }, - "matching_strategy": { - "anyOf": [ - { - "$ref": "#/$defs/MatchingStrategy" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "kind", - "id" - ] - }, - "KomorebiTheme": { - "oneOf": [ - { - "description": "A theme from catppuccin-egui", - "type": "object", - "properties": { - "bar_accent": { - "description": "Komorebi status bar accent (default: Blue)", - "anyOf": [ - { - "$ref": "#/$defs/CatppuccinValue" - }, - { - "type": "null" - } - ] - }, - "floating_border": { - "description": "Border colour when the window is floating (default: Yellow)", - "anyOf": [ - { - "$ref": "#/$defs/CatppuccinValue" - }, - { - "type": "null" - } - ] - }, - "monocle_border": { - "description": "Border colour when the container is in monocle mode (default: Pink)", - "anyOf": [ - { - "$ref": "#/$defs/CatppuccinValue" - }, - { - "type": "null" - } - ] - }, - "name": { - "description": "Name of the Catppuccin theme (theme previews: https://github.com/catppuccin/catppuccin)", - "$ref": "#/$defs/Catppuccin" - }, - "palette": { - "type": "string", - "const": "Catppuccin" - }, - "single_border": { - "description": "Border colour when the container contains a single window (default: Blue)", - "anyOf": [ - { - "$ref": "#/$defs/CatppuccinValue" - }, - { - "type": "null" - } - ] - }, - "stack_border": { - "description": "Border colour when the container contains multiple windows (default: Green)", - "anyOf": [ - { - "$ref": "#/$defs/CatppuccinValue" - }, - { - "type": "null" - } - ] - }, - "stackbar_background": { - "description": "Stackbar tab background colour (default: Base)", - "anyOf": [ - { - "$ref": "#/$defs/CatppuccinValue" - }, - { - "type": "null" - } - ] - }, - "stackbar_focused_text": { - "description": "Stackbar focused tab text colour (default: Green)", - "anyOf": [ - { - "$ref": "#/$defs/CatppuccinValue" - }, - { - "type": "null" - } - ] - }, - "stackbar_unfocused_text": { - "description": "Stackbar unfocused tab text colour (default: Text)", - "anyOf": [ - { - "$ref": "#/$defs/CatppuccinValue" - }, - { - "type": "null" - } - ] - }, - "unfocused_border": { - "description": "Border colour when the container is unfocused (default: Base)", - "anyOf": [ - { - "$ref": "#/$defs/CatppuccinValue" - }, - { - "type": "null" - } - ] - }, - "unfocused_locked_border": { - "description": "Border colour when the container is unfocused and locked (default: Red)", - "anyOf": [ - { - "$ref": "#/$defs/CatppuccinValue" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "palette", - "name" - ] - }, - { - "description": "A theme from base16-egui-themes", - "type": "object", - "properties": { - "bar_accent": { - "description": "Komorebi status bar accent (default: Base0D)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "floating_border": { - "description": "Border colour when the window is floating (default: Base09)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "monocle_border": { - "description": "Border colour when the container is in monocle mode (default: Base0F)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "name": { - "description": "Name of the Base16 theme (theme previews: https://tinted-theming.github.io/tinted-gallery/)", - "$ref": "#/$defs/Base16" - }, - "palette": { - "type": "string", - "const": "Base16" - }, - "single_border": { - "description": "Border colour when the container contains a single window (default: Base0D)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stack_border": { - "description": "Border colour when the container contains multiple windows (default: Base0B)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stackbar_background": { - "description": "Stackbar tab background colour (default: Base01)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stackbar_focused_text": { - "description": "Stackbar focused tab text colour (default: Base0B)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stackbar_unfocused_text": { - "description": "Stackbar unfocused tab text colour (default: Base05)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "unfocused_border": { - "description": "Border colour when the container is unfocused (default: Base01)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "unfocused_locked_border": { - "description": "Border colour when the container is unfocused and locked (default: Base08)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "palette", - "name" - ] - }, - { - "description": "A custom Base16 theme", - "type": "object", - "properties": { - "bar_accent": { - "description": "Komorebi status bar accent (default: Base0D)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "colours": { - "description": "Colours of the custom Base16 theme palette", - "$ref": "#/$defs/Base16ColourPalette" - }, - "floating_border": { - "description": "Border colour when the window is floating (default: Base09)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "monocle_border": { - "description": "Border colour when the container is in monocle mode (default: Base0F)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "palette": { - "type": "string", - "const": "Custom" - }, - "single_border": { - "description": "Border colour when the container contains a single window (default: Base0D)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stack_border": { - "description": "Border colour when the container contains multiple windows (default: Base0B)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stackbar_background": { - "description": "Stackbar tab background colour (default: Base01)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stackbar_focused_text": { - "description": "Stackbar focused tab text colour (default: Base0B)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stackbar_unfocused_text": { - "description": "Stackbar unfocused tab text colour (default: Base05)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "unfocused_border": { - "description": "Border colour when the container is unfocused (default: Base01)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "unfocused_locked_border": { - "description": "Border colour when the container is unfocused and locked (default: Base08)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "palette", - "colours" - ] - } - ] - }, - "LayoutOptions": { - "type": "object", - "properties": { - "grid": { - "description": "Options related to the Grid layout", - "anyOf": [ - { - "$ref": "#/$defs/GridLayoutOptions" - }, - { - "type": "null" - } - ] - }, - "scrolling": { - "description": "Options related to the Scrolling layout", - "anyOf": [ - { - "$ref": "#/$defs/ScrollingLayoutOptions" - }, - { - "type": "null" - } - ] - } - } - }, - "MatchingRule": { - "anyOf": [ - { - "$ref": "#/$defs/IdWithIdentifier" - }, - { - "type": "array", - "items": { - "$ref": "#/$defs/IdWithIdentifier" - } - } - ] - }, - "MatchingStrategy": { - "type": "string", - "enum": [ - "Legacy", - "Equals", - "StartsWith", - "EndsWith", - "Contains", - "Regex", - "DoesNotEndWith", - "DoesNotStartWith", - "DoesNotEqual", - "DoesNotContain" - ] - }, - "MonitorConfig": { - "type": "object", - "properties": { - "container_padding": { - "description": "Container padding (default: global)", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "floating_layer_behaviour": { - "description": "Determine what happens to a new window when the Floating workspace layer is active (default: Tile)", - "anyOf": [ - { - "$ref": "#/$defs/FloatingLayerBehaviour" - }, - { - "type": "null" - } - ] - }, - "wallpaper": { - "description": "Specify a wallpaper for this monitor", - "anyOf": [ - { - "$ref": "#/$defs/Wallpaper" - }, - { - "type": "null" - } - ] - }, - "window_based_work_area_offset": { - "description": "Window based work area offset (default: None)", - "anyOf": [ - { - "$ref": "#/$defs/Rect" - }, - { - "type": "null" - } - ] - }, - "window_based_work_area_offset_limit": { - "description": "Open window limit after which the window based work area offset will no longer be applied (default: 1)", - "type": [ - "integer", - "null" - ], - "format": "int" - }, - "work_area_offset": { - "description": "Monitor-specific work area offset (default: None)", - "anyOf": [ - { - "$ref": "#/$defs/Rect" - }, - { - "type": "null" - } - ] - }, - "workspace_padding": { - "description": "Workspace padding (default: global)", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "workspaces": { - "description": "Workspace configurations", - "type": "array", - "items": { - "$ref": "#/$defs/WorkspaceConfig" - } - } - }, - "required": [ - "workspaces" - ] - }, - "MoveBehaviour": { - "oneOf": [ - { - "description": "Swap the window container with the window container at the edge of the adjacent monitor", - "type": "string", - "const": "Swap" - }, - { - "description": "Insert the window container into the focused workspace on the adjacent monitor", - "type": "string", - "const": "Insert" - }, - { - "description": "Do nothing if trying to move a window container in the direction of an adjacent monitor", - "type": "string", - "const": "NoOp" - } - ] - }, - "OperationBehaviour": { - "oneOf": [ - { - "description": "Process komorebic commands on temporarily unmanaged/floated windows", - "type": "string", - "const": "Op" - }, - { - "description": "Ignore komorebic commands on temporarily unmanaged/floated windows", - "type": "string", - "const": "NoOp" - } - ] - }, - "PathBuf": { - "type": "string" - }, - "PerAnimationPrefixConfig": { - "anyOf": [ - { - "type": "object", - "additionalProperties": { - "type": "boolean" - } - }, - { - "type": "boolean" - } - ] - }, - "PerAnimationPrefixConfig2": { - "anyOf": [ - { - "type": "object", - "additionalProperties": { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - }, - { - "type": "integer", - "format": "uint64", - "minimum": 0 - } - ] - }, - "PerAnimationPrefixConfig3": { - "anyOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/$defs/AnimationStyle" - } - }, - { - "$ref": "#/$defs/AnimationStyle" - } - ] - }, - "Placement": { - "oneOf": [ - { - "description": "Does not change the size or position of the window", - "type": "string", - "const": "None" - }, - { - "description": "Center the window without changing the size", - "type": "string", - "const": "Center" - }, - { - "description": "Center the window and resize it according to the `AspectRatio`", - "type": "string", - "const": "CenterAndResize" - } - ] - }, - "PredefinedAspectRatio": { - "oneOf": [ - { - "description": "21:9", - "type": "string", - "const": "Ultrawide" - }, - { - "description": "16:9", - "type": "string", - "const": "Widescreen" - }, - { - "description": "4:3", - "type": "string", - "const": "Standard" - } - ] - }, - "Rect": { - "type": "object", - "properties": { - "bottom": { - "description": "The bottom point in a Win32 Rect", - "type": "integer", - "format": "int32" - }, - "left": { - "description": "The left point in a Win32 Rect", - "type": "integer", - "format": "int32" - }, - "right": { - "description": "The right point in a Win32 Rect", - "type": "integer", - "format": "int32" - }, - "top": { - "description": "The top point in a Win32 Rect", - "type": "integer", - "format": "int32" - } - }, - "required": [ - "left", - "top", - "right", - "bottom" - ] - }, - "Rgb": { - "type": "object", - "properties": { - "b": { - "description": "Blue", - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "g": { - "description": "Green", - "type": "integer", - "format": "uint32", - "minimum": 0 - }, - "r": { - "description": "Red", - "type": "integer", - "format": "uint32", - "minimum": 0 - } - }, - "required": [ - "r", - "g", - "b" - ] - }, - "ScrollingLayoutOptions": { - "type": "object", - "properties": { - "center_focused_column": { - "description": "With an odd number of visible columns, keep the focused window column centered", - "type": [ - "boolean", - "null" - ] - }, - "columns": { - "description": "Desired number of visible columns (default: 3)", - "type": "integer", - "format": "uint", - "minimum": 0 - } - }, - "required": [ - "columns" - ] - }, - "StackbarConfig": { - "type": "object", - "properties": { - "height": { - "description": "Stackbar height", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "label": { - "description": "Stackbar label", - "anyOf": [ - { - "$ref": "#/$defs/StackbarLabel" - }, - { - "type": "null" - } - ] - }, - "mode": { - "description": "Stackbar mode (default: Never)", - "anyOf": [ - { - "$ref": "#/$defs/StackbarMode" - }, - { - "type": "null" - } - ] - }, - "tabs": { - "description": "Stackbar tab configuration options", - "anyOf": [ - { - "$ref": "#/$defs/TabsConfig" - }, - { - "type": "null" - } - ] - } - } - }, - "StackbarLabel": { - "type": "string", - "enum": [ - "Process", - "Title" - ] - }, - "StackbarMode": { - "type": "string", - "enum": [ - "Always", - "Never", - "OnStack" - ] - }, - "TabsConfig": { - "type": "object", - "properties": { - "background": { - "description": "Tab background colour", - "anyOf": [ - { - "$ref": "#/$defs/Colour" - }, - { - "type": "null" - } - ] - }, - "focused_text": { - "description": "Focused tab text colour", - "anyOf": [ - { - "$ref": "#/$defs/Colour" - }, - { - "type": "null" - } - ] - }, - "font_family": { - "description": "Font family", - "type": [ - "string", - "null" - ] - }, - "font_size": { - "description": "Font size", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "unfocused_text": { - "description": "Unfocused tab text colour", - "anyOf": [ - { - "$ref": "#/$defs/Colour" - }, - { - "type": "null" - } - ] - }, - "width": { - "description": "Width of a stackbar tab", - "type": [ - "integer", - "null" - ], - "format": "int32" - } - } - }, - "ThemeOptions": { - "type": "object", - "properties": { - "bar_accent": { - "description": "Komorebi status bar accent (default: Base0D)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "floating_border": { - "description": "Border colour when the window is floating (default: Base09)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "monocle_border": { - "description": "Border colour when the container is in monocle mode (default: Base0F)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "single_border": { - "description": "Border colour when the container contains a single window (default: Base0D)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stack_border": { - "description": "Border colour when the container contains multiple windows (default: Base0B)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stackbar_background": { - "description": "Stackbar tab background colour (default: Base01)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stackbar_focused_text": { - "description": "Stackbar focused tab text colour (default: Base0B)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "stackbar_unfocused_text": { - "description": "Stackbar unfocused tab text colour (default: Base05)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "theme_variant": { - "description": "Specify Light or Dark variant for theme generation (default: Dark)", - "anyOf": [ - { - "$ref": "#/$defs/ThemeVariant" - }, - { - "type": "null" - } - ] - }, - "unfocused_border": { - "description": "Border colour when the container is unfocused (default: Base01)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - }, - "unfocused_locked_border": { - "description": "Border colour when the container is unfocused and locked (default: Base08)", - "anyOf": [ - { - "$ref": "#/$defs/Base16Value" - }, - { - "type": "null" - } - ] - } - } - }, - "ThemeVariant": { - "type": "string", - "enum": [ - "Dark", - "Light" - ] - }, - "Wallpaper": { - "type": "object", - "properties": { - "generate_theme": { - "description": "Generate and apply Base16 theme for this wallpaper (default: true)", - "type": [ - "boolean", - "null" - ] - }, - "path": { - "description": "Path to the wallpaper image file", - "$ref": "#/$defs/PathBuf" - }, - "theme_options": { - "description": "Specify Light or Dark variant for theme generation (default: Dark)", - "anyOf": [ - { - "$ref": "#/$defs/ThemeOptions" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "path" - ] - }, - "WindowContainerBehaviour": { - "oneOf": [ - { - "description": "Create a new container for each new window", - "type": "string", - "const": "Create" - }, - { - "description": "Append new windows to the focused window container", - "type": "string", - "const": "Append" - } - ] - }, - "WindowHandlingBehaviour": { - "type": "string", - "enum": [ - "Sync", - "Async" - ] - }, - "WorkspaceConfig": { - "type": "object", - "properties": { - "apply_window_based_work_area_offset": { - "description": "Apply this monitor's window-based work area offset (default: true)", - "type": [ - "boolean", - "null" - ] - }, - "container_padding": { - "description": "Container padding (default: global)", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "custom_layout": { - "description": "END OF LIFE FEATURE: Custom Layout (default: None)", - "anyOf": [ - { - "$ref": "#/$defs/PathBuf" - }, - { - "type": "null" - } - ], - "deprecated": true - }, - "custom_layout_rules": { - "description": "END OF LIFE FEATURE: Custom layout rules (default: None)", - "type": [ - "object", - "null" - ], - "additionalProperties": false, - "deprecated": true, - "patternProperties": { - "^\\d+$": { - "type": "string" - } - } - }, - "float_override": { - "description": "Enable or disable float override, which makes it so every new window opens in floating mode (default: false)", - "type": [ - "boolean", - "null" - ] - }, - "floating_layer_behaviour": { - "description": "Determine what happens to a new window when the Floating workspace layer is active (default: Tile)", - "anyOf": [ - { - "$ref": "#/$defs/FloatingLayerBehaviour" - }, - { - "type": "null" - } - ] - }, - "initial_workspace_rules": { - "description": "Initial workspace application rules", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - }, - "layout": { - "description": "Layout (default: BSP)", - "anyOf": [ - { - "$ref": "#/$defs/DefaultLayout" - }, - { - "type": "null" - } - ] - }, - "layout_flip": { - "description": "Specify an axis on which to flip the selected layout (default: None)", - "anyOf": [ - { - "$ref": "#/$defs/Axis" - }, - { - "type": "null" - } - ] - }, - "layout_options": { - "description": "Layout-specific options (default: None)", - "anyOf": [ - { - "$ref": "#/$defs/LayoutOptions" - }, - { - "type": "null" - } - ] - }, - "layout_rules": { - "description": "Layout rules in the format of threshold => layout (default: None)", - "type": [ - "object", - "null" - ], - "additionalProperties": false, - "patternProperties": { - "^\\d+$": { - "$ref": "#/$defs/DefaultLayout" - } - } - }, - "name": { - "description": "Name", - "type": "string" - }, - "tile": { - "description": "Enable or disable tiling for the workspace (default: true)", - "type": [ - "boolean", - "null" - ] - }, - "wallpaper": { - "description": "Specify a wallpaper for this workspace", - "anyOf": [ - { - "$ref": "#/$defs/Wallpaper" - }, - { - "type": "null" - } - ] - }, - "window_container_behaviour": { - "description": "Determine what happens when a new window is opened (default: Create)", - "anyOf": [ - { - "$ref": "#/$defs/WindowContainerBehaviour" - }, - { - "type": "null" - } - ] - }, - "window_container_behaviour_rules": { - "description": "Window container behaviour rules in the format of threshold => behaviour (default: None)", - "type": [ - "object", - "null" - ], - "additionalProperties": false, - "patternProperties": { - "^\\d+$": { - "$ref": "#/$defs/WindowContainerBehaviour" - } - } - }, - "work_area_offset": { - "description": "Workspace specific work area offset (default: None)", - "anyOf": [ - { - "$ref": "#/$defs/Rect" - }, - { - "type": "null" - } - ] - }, - "workspace_padding": { - "description": "Workspace padding (default: global)", - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "workspace_rules": { - "description": "Permanent workspace application rules", - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/$defs/MatchingRule" - } - } - }, - "required": [ - "name" - ] - }, - "ZOrder": { - "type": "string", - "enum": [ - "Top", - "NoTopMost", - "Bottom", - "TopMost" - ] - } - } -}