mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-19 07:08:48 +01:00
This commit adds support for the StackWindow, UnstackWindow and CycleStack SocketCommands. The code is largely just migrated from komorebi. It looks like there isn't a public API which can be used to hide individual windows, either via AXUIElement or something constructed using the window id. For now I'm just moving the stacked window off the screen and this works well enough. I also added some cleanup which ensures that when the process exits, windows which are off-screen will be restored to their last known position.
67 lines
1.2 KiB
TOML
67 lines
1.2 KiB
TOML
[graph]
|
|
targets = [
|
|
"aarch64-apple-darwin",
|
|
]
|
|
all-features = false
|
|
no-default-features = false
|
|
|
|
[output]
|
|
feature-depth = 1
|
|
|
|
[advisories]
|
|
ignore = []
|
|
|
|
[licenses]
|
|
allow = [
|
|
"0BSD",
|
|
"Apache-2.0",
|
|
"MIT",
|
|
"MPL-2.0",
|
|
"Unicode-3.0",
|
|
"Zlib",
|
|
|
|
"LicenseRef-Komorebi-2.0",
|
|
|
|
# these are also ok, but not yet used
|
|
|
|
# "Artistic-2.0",
|
|
# "BSD-2-Clause",
|
|
# "BSD-3-Clause",
|
|
# "BSL-1.0",
|
|
# "CC0-1.0",
|
|
# "ISC",
|
|
# "MIT-0",
|
|
# "OFL-1.1",
|
|
# "Ubuntu-font-1.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 = "komorebic"
|
|
expression = "LicenseRef-Komorebi-2.0"
|
|
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/komorebi-for-mac",
|
|
] |