From 170952596fb467cf781ce8f7ceb215f00508c7a1 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Sun, 1 Nov 2026 07:21:13 -0800 Subject: [PATCH] refactor(repo): delete the shim packages komorebic-linux, komorebi-client-linux, komorebic-macos, komorebi-client-macos and komorebi-bar-macos were #[path] includes of the unified komorebic, komorebi-client and komorebi-bar modules, kept only so the old package names kept building. The unified packages are the only ones now, so the five directories and their workspace members are gone (Cargo.lock loses their dependency entries). Things that named the old packages follow: the clarify entries of the two per-tree deny.toml files, tools/fast-check, tools/mac-check.sh and tools/kde-closure-check (it now walks komorebic and komorebi-client), and the doc comment of komorebic/src/main.rs. komorebi-for-kde/nix/root-crates.json gains komorebic, komorebi-client and crates/komorebi-version, because those are root crates the KDE build depends on now. komorebi-for-mac/komorebi/src/pan.rs read its transcripts from the deleted komorebic/fixtures; they are byte-identical to the root komorebic/fixtures, so the three paths point there. Not touched here (done in the flake and justfile revisions of this stack): the nix flakes and justfiles of the trees, which still name the removed packages, and docs/dev. Verified: Windows cargo clippy --locked --all-targets -D warnings (default members) passes; KDE cargo test -p komorebi -p komorebic -p komorebi-client -p komorebi-linux passes; macOS cargo check --target aarch64-apple-darwin (fake CC) of komorebi, komorebi-macos, komorebic, komorebi-client, komorebi-bar passes; tools/kde-closure-check passes. The nix flakes were not run. --- Cargo.lock | 102 ------- Cargo.toml | 5 - komorebi-for-kde/deny.toml | 10 - komorebi-for-kde/komorebi-client/Cargo.toml | 20 -- komorebi-for-kde/komorebi-client/src/lib.rs | 9 - komorebi-for-kde/komorebic/Cargo.toml | 37 --- komorebi-for-kde/komorebic/src/main.rs | 9 - komorebi-for-kde/nix/root-crates.json | 5 +- komorebi-for-mac/deny.toml | 15 - komorebi-for-mac/komorebi-bar/Cargo.toml | 61 ---- komorebi-for-mac/komorebi-bar/src/main.rs | 9 - komorebi-for-mac/komorebi-client/Cargo.toml | 17 -- komorebi-for-mac/komorebi-client/src/lib.rs | 9 - komorebi-for-mac/komorebi/src/pan.rs | 6 +- komorebi-for-mac/komorebic/Cargo.toml | 37 --- komorebi-for-mac/komorebic/applications.json | 286 ------------------ .../fixtures/gesture-stream.transcript.txt | 5 - .../fixtures/pan3-flick.transcript.txt | 18 -- .../fixtures/pan3-long.transcript.txt | 218 ------------- .../fixtures/pan3-slow.transcript.txt | 67 ---- komorebi-for-mac/komorebic/src/main.rs | 9 - komorebic/src/main.rs | 3 +- tools/fast-check | 2 +- tools/kde-closure-check | 2 +- tools/mac-check.sh | 2 +- 25 files changed, 11 insertions(+), 952 deletions(-) delete mode 100644 komorebi-for-kde/komorebi-client/Cargo.toml delete mode 100644 komorebi-for-kde/komorebi-client/src/lib.rs delete mode 100644 komorebi-for-kde/komorebic/Cargo.toml delete mode 100644 komorebi-for-kde/komorebic/src/main.rs delete mode 100644 komorebi-for-mac/komorebi-bar/Cargo.toml delete mode 100644 komorebi-for-mac/komorebi-bar/src/main.rs delete mode 100644 komorebi-for-mac/komorebi-client/Cargo.toml delete mode 100644 komorebi-for-mac/komorebi-client/src/lib.rs delete mode 100644 komorebi-for-mac/komorebic/Cargo.toml delete mode 100644 komorebi-for-mac/komorebic/applications.json delete mode 100644 komorebi-for-mac/komorebic/fixtures/gesture-stream.transcript.txt delete mode 100644 komorebi-for-mac/komorebic/fixtures/pan3-flick.transcript.txt delete mode 100644 komorebi-for-mac/komorebic/fixtures/pan3-long.transcript.txt delete mode 100644 komorebi-for-mac/komorebic/fixtures/pan3-slow.transcript.txt delete mode 100644 komorebi-for-mac/komorebic/src/main.rs diff --git a/Cargo.lock b/Cargo.lock index de187233..331423ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3477,45 +3477,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "komorebi-bar-macos" -version = "0.2.0" -dependencies = [ - "chrono", - "chrono-tz", - "clap", - "color-eyre", - "crossbeam-channel", - "dirs 6.0.0", - "dunce", - "eframe", - "egui-phosphor", - "font-loader", - "hotwatch", - "icns", - "image 0.25.10", - "komorebi-bar-core", - "komorebi-client", - "komorebi-themes", - "lazy_static", - "netdev 0.40.1", - "num", - "num-derive", - "num-traits", - "objc2 0.6.5", - "objc2-app-kit 0.3.2", - "parking_lot 0.12.5", - "random_word", - "raw-window-handle", - "reqwest", - "schemars 1.2.3", - "serde", - "serde_json_lenient", - "sysinfo 0.38.4", - "tracing", - "tracing-subscriber", -] - [[package]] name = "komorebi-client" version = "0.2.0" @@ -3529,25 +3490,6 @@ dependencies = [ "uds_windows", ] -[[package]] -name = "komorebi-client-linux" -version = "0.2.0" -dependencies = [ - "komorebi-linux", - "komorebi-themes", - "parking_lot 0.13.0", - "serde_json_lenient", -] - -[[package]] -name = "komorebi-client-macos" -version = "0.2.0" -dependencies = [ - "komorebi-macos", - "komorebi-themes", - "serde_json_lenient", -] - [[package]] name = "komorebi-collections" version = "0.2.0" @@ -3921,50 +3863,6 @@ dependencies = [ "komorebi-protocol", ] -[[package]] -name = "komorebic-linux" -version = "0.2.0" -dependencies = [ - "chrono", - "clap", - "clap_complete", - "color-eyre", - "dirs 7.0.0", - "fs-tail", - "komorebi-client-linux", - "komorebi-config", - "komorebi-hotkeys", - "komorebi-linux", - "komorebi-version", - "komorebic-core", - "lazy_static", - "schemars 1.2.3", - "serde_json_lenient", - "sysinfo 0.40.0", -] - -[[package]] -name = "komorebic-macos" -version = "0.2.0" -dependencies = [ - "chrono", - "clap", - "clap_complete", - "color-eyre", - "dirs 6.0.0", - "fs-tail", - "komorebi-client-macos", - "komorebi-config", - "komorebi-version", - "komorebic-core", - "lazy_static", - "reqwest", - "schemars 1.2.3", - "serde_json_lenient", - "shadow-rs 1.7.1", - "sysinfo 0.38.4", -] - [[package]] name = "komorebic-no-console" version = "0.2.0" diff --git a/Cargo.toml b/Cargo.toml index b32d2555..db4f61ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,13 +27,8 @@ members = [ # komorebi for KDE Plasma (Linux) and komorebi for macOS: built only on their own platform, selected # with -p; `default-members` below is the Windows set that a bare cargo command builds "komorebi-for-kde/komorebi", - "komorebi-for-kde/komorebic", - "komorebi-for-kde/komorebi-client", "komorebi-for-kde/komorebi-hotkeys", "komorebi-for-mac/komorebi", - "komorebi-for-mac/komorebic", - "komorebi-for-mac/komorebi-client", - "komorebi-for-mac/komorebi-bar", "crates/komorebi-version", ] diff --git a/komorebi-for-kde/deny.toml b/komorebi-for-kde/deny.toml index f1702518..c6c4645c 100644 --- a/komorebi-for-kde/deny.toml +++ b/komorebi-for-kde/deny.toml @@ -48,11 +48,6 @@ crate = "komorebi-linux" expression = "LicenseRef-Komorebi-2.0" license-files = [] -[[licenses.clarify]] -crate = "komorebi-client-linux" -expression = "LicenseRef-Komorebi-2.0" -license-files = [] - [[licenses.clarify]] crate = "komorebi-hotkeys" expression = "LicenseRef-Komorebi-2.0" @@ -68,11 +63,6 @@ crate = "komorebi-scrolling" expression = "LicenseRef-Komorebi-2.0" license-files = [] -[[licenses.clarify]] -crate = "komorebic-linux" -expression = "LicenseRef-Komorebi-2.0" -license-files = [] - [[licenses.clarify]] crate = "komorebi-themes" expression = "LicenseRef-Komorebi-2.0" diff --git a/komorebi-for-kde/komorebi-client/Cargo.toml b/komorebi-for-kde/komorebi-client/Cargo.toml deleted file mode 100644 index 930039e9..00000000 --- a/komorebi-for-kde/komorebi-client/Cargo.toml +++ /dev/null @@ -1,20 +0,0 @@ -[package] -name = "komorebi-client-linux" -version.workspace = true -edition = "2024" - -[dependencies] -komorebi = { package = "komorebi-linux", path = "../komorebi", default-features = false } -komorebi-themes = { path = "../../komorebi-themes" } - -serde_json = { package = "serde_json_lenient", version = "0.2" } - -[dev-dependencies] -parking_lot = "0.13" - -[features] -default = ["schemars"] -schemars = ["komorebi/default"] - -[lib] -name = "komorebi_client" diff --git a/komorebi-for-kde/komorebi-client/src/lib.rs b/komorebi-for-kde/komorebi-client/src/lib.rs deleted file mode 100644 index 71f76223..00000000 --- a/komorebi-for-kde/komorebi-client/src/lib.rs +++ /dev/null @@ -1,9 +0,0 @@ -//! `komorebi-client-linux`: the client of the unified `komorebi-client` package, kept under its old -//! package name until the cutover. The code is in `komorebi-client/src/linux.rs`. - -extern crate komorebi as komorebi_linux; - -#[path = "../../../komorebi-client/src/linux.rs"] -mod platform; - -pub use platform::*; diff --git a/komorebi-for-kde/komorebic/Cargo.toml b/komorebi-for-kde/komorebic/Cargo.toml deleted file mode 100644 index 7740edf0..00000000 --- a/komorebi-for-kde/komorebic/Cargo.toml +++ /dev/null @@ -1,37 +0,0 @@ -[package] -name = "komorebic-linux" -version.workspace = true -description = "The command-line interface for Komorebi, a tiling window manager for KDE Plasma" -edition = "2024" - -[dependencies] -komorebi-config = { path = "../../crates/komorebi-config", default-features = false, features = [ - "schemars", -] } -komorebi = { package = "komorebi-linux", path = "../komorebi", default-features = false } -komorebi-client = { package = "komorebi-client-linux", path = "../komorebi-client", default-features = false } -komorebi-hotkeys = { path = "../komorebi-hotkeys" } -komorebic-core = { path = "../../crates/komorebic-core" } -version = { package = "komorebi-version", path = "../../crates/komorebi-version" } - -clap = { version = "4", features = ["derive", "wrap_help"] } -clap_complete = "4" -chrono = { version = "0.4" } -color-eyre = { version = "0.6" } -dirs = { version = "7" } -fs-tail = "0.1" -lazy_static = { version = "1" } -schemars = { version = "1.1", optional = true } -serde_json = { package = "serde_json_lenient", version = "0.2" } -sysinfo = { version = "0.40" } - -[features] -default = ["schemars"] -schemars = ["dep:schemars", "komorebi-client/default"] - -[lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } - -[[bin]] -name = "komorebic" -path = "src/main.rs" diff --git a/komorebi-for-kde/komorebic/src/main.rs b/komorebi-for-kde/komorebic/src/main.rs deleted file mode 100644 index fdd5e4be..00000000 --- a/komorebi-for-kde/komorebic/src/main.rs +++ /dev/null @@ -1,9 +0,0 @@ -//! `komorebic-linux`: the KDE command line of the unified `komorebic` package, kept under its old -//! package name until the cutover. The code is in `komorebic/src/linux`. - -#[path = "../../../komorebic/src/linux/mod.rs"] -mod linux; - -fn main() -> color_eyre::eyre::Result<()> { - linux::main() -} diff --git a/komorebi-for-kde/nix/root-crates.json b/komorebi-for-kde/nix/root-crates.json index 2f8627ac..9f412472 100644 --- a/komorebi-for-kde/nix/root-crates.json +++ b/komorebi-for-kde/nix/root-crates.json @@ -6,8 +6,11 @@ "crates/komorebi-protocol", "crates/komorebi-settings", "crates/komorebi-transport", + "crates/komorebi-version", "crates/komorebic-core", + "komorebi-client", "komorebi-layouts", "komorebi-scrolling", - "komorebi-themes" + "komorebi-themes", + "komorebic" ] diff --git a/komorebi-for-mac/deny.toml b/komorebi-for-mac/deny.toml index 17252297..43ea5000 100644 --- a/komorebi-for-mac/deny.toml +++ b/komorebi-for-mac/deny.toml @@ -53,11 +53,6 @@ crate = "komorebi-macos" expression = "LicenseRef-Komorebi-2.0" license-files = [] -[[licenses.clarify]] -crate = "komorebi-client-macos" -expression = "LicenseRef-Komorebi-2.0" -license-files = [] - [[licenses.clarify]] crate = "komorebi-scrolling" expression = "LicenseRef-Komorebi-2.0" @@ -68,16 +63,6 @@ crate = "komorebi-layouts" expression = "LicenseRef-Komorebi-2.0" license-files = [] -[[licenses.clarify]] -crate = "komorebic-macos" -expression = "LicenseRef-Komorebi-2.0" -license-files = [] - -[[licenses.clarify]] -crate = "komorebi-bar-macos" -expression = "LicenseRef-Komorebi-2.0" -license-files = [] - [[licenses.clarify]] crate = "komorebi-themes" expression = "LicenseRef-Komorebi-2.0" diff --git a/komorebi-for-mac/komorebi-bar/Cargo.toml b/komorebi-for-mac/komorebi-bar/Cargo.toml deleted file mode 100644 index 7145be8d..00000000 --- a/komorebi-for-mac/komorebi-bar/Cargo.toml +++ /dev/null @@ -1,61 +0,0 @@ -[package] -name = "komorebi-bar-macos" -version.workspace = true -edition = "2024" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] -komorebi-bar-core = { path = "../../crates/komorebi-bar-core", default-features = false } -komorebi-client = { path = "../../komorebi-client", default-features = false } -komorebi-themes = { path = "../../komorebi-themes" } - -chrono = { version = "0.4" } -chrono-tz = { version = "0.10" } -clap = { version = "4", features = ["derive", "wrap_help"] } -color-eyre = { version = "0.6" } -crossbeam-channel = { version = "0.5" } -dirs = { version = "6" } -dunce = { version = "1" } -eframe = { version = "0.33" } -egui-phosphor = { git = "https://github.com/amPerl/egui-phosphor", rev = "d13688738478ecd12b426e3e74c59d6577a85b59" } -font-loader = "0.11" -hotwatch = { version = "0.5" } -icns = "0.4" -image = "0.25" -lazy_static = { version = "1" } -netdev = "0.40" -num = "0.4" -num-derive = "0.4" -num-traits = "0.2" -objc2 = { version = "0.6", default-features = false, features = ["std"] } -objc2-app-kit = { version = "0.3", default-features = false, features = [ - "std", - "NSApplication", - "NSResponder", - "NSView", - "NSWindow", -] } -raw-window-handle = "0.6" -parking_lot = { version = "0.12" } -random_word = { version = "0.5", features = ["en"] } -reqwest = { version = "0.12", features = ["blocking"] } -schemars = { version = "1.1", optional = true } -serde = { version = "1", features = ["derive"] } -serde_json = { package = "serde_json_lenient", version = "0.2" } -sysinfo = { version = "0.38" } -tracing = { version = "0.1" } -tracing-subscriber = { version = "0.3", features = ["env-filter"] } - -[features] -default = ["schemars"] -schemars = [ - "dep:schemars", - "komorebi-bar-core/schemars", - "komorebi-client/default", - "komorebi-themes/default", -] - -[[bin]] -name = "komorebi-bar" -path = "src/main.rs" diff --git a/komorebi-for-mac/komorebi-bar/src/main.rs b/komorebi-for-mac/komorebi-bar/src/main.rs deleted file mode 100644 index c8fe1a9a..00000000 --- a/komorebi-for-mac/komorebi-bar/src/main.rs +++ /dev/null @@ -1,9 +0,0 @@ -//! `komorebi-bar-macos`: the macOS bar of the unified `komorebi-bar` package, kept under its old package -//! name until the cutover. The code is in `komorebi-bar/src/macos`. - -#[path = "../../../komorebi-bar/src/macos/mod.rs"] -mod macos; - -fn main() -> color_eyre::Result<()> { - macos::main() -} diff --git a/komorebi-for-mac/komorebi-client/Cargo.toml b/komorebi-for-mac/komorebi-client/Cargo.toml deleted file mode 100644 index 005aa520..00000000 --- a/komorebi-for-mac/komorebi-client/Cargo.toml +++ /dev/null @@ -1,17 +0,0 @@ -[package] -name = "komorebi-client-macos" -version.workspace = true -edition = "2024" - -[dependencies] -komorebi = { package = "komorebi-macos", path = "../komorebi", default-features = false } -komorebi-themes = { path = "../../komorebi-themes" } - -serde_json = { package = "serde_json_lenient", version = "0.2" } - -[features] -default = ["schemars"] -schemars = ["komorebi/default"] - -[lib] -name = "komorebi_client" diff --git a/komorebi-for-mac/komorebi-client/src/lib.rs b/komorebi-for-mac/komorebi-client/src/lib.rs deleted file mode 100644 index 26ce52a5..00000000 --- a/komorebi-for-mac/komorebi-client/src/lib.rs +++ /dev/null @@ -1,9 +0,0 @@ -//! `komorebi-client-macos`: the client of the unified `komorebi-client` package, kept under its old -//! package name until the cutover. The code is in `komorebi-client/src/macos.rs`. - -extern crate komorebi as komorebi_macos; - -#[path = "../../../komorebi-client/src/macos.rs"] -mod platform; - -pub use platform::*; diff --git a/komorebi-for-mac/komorebi/src/pan.rs b/komorebi-for-mac/komorebi/src/pan.rs index 7c08a345..5c5ca46f 100644 --- a/komorebi-for-mac/komorebi/src/pan.rs +++ b/komorebi-for-mac/komorebi/src/pan.rs @@ -459,13 +459,13 @@ mod tests { #[test] fn the_swipes_of_a_stream_lift_at_the_speed_that_they_were_made_to() { let long = lift_speed(&moves_of(include_str!( - "../../komorebic/fixtures/pan3-long.transcript.txt" + "../../../komorebic/fixtures/pan3-long.transcript.txt" ))); let flick = lift_speed(&moves_of(include_str!( - "../../komorebic/fixtures/pan3-flick.transcript.txt" + "../../../komorebic/fixtures/pan3-flick.transcript.txt" ))); let slow = lift_speed(&moves_of(include_str!( - "../../komorebic/fixtures/pan3-slow.transcript.txt" + "../../../komorebic/fixtures/pan3-slow.transcript.txt" ))); // 0.128 cm every 8 ms, and 0.267 every 8 diff --git a/komorebi-for-mac/komorebic/Cargo.toml b/komorebi-for-mac/komorebic/Cargo.toml deleted file mode 100644 index c3ee2259..00000000 --- a/komorebi-for-mac/komorebic/Cargo.toml +++ /dev/null @@ -1,37 +0,0 @@ -[package] -name = "komorebic-macos" -version.workspace = true -description = "The command-line interface for Komorebi, a tiling window manager for macOS" -edition = "2024" - -[dependencies] -komorebi-config = { path = "../../crates/komorebi-config", default-features = false, features = [ - "schemars", -] } -komorebi-client = { package = "komorebi-client-macos", path = "../komorebi-client", default-features = false } -komorebic-core = { path = "../../crates/komorebic-core" } -version = { package = "komorebi-version", path = "../../crates/komorebi-version" } - -clap = { version = "4", features = ["derive", "wrap_help"] } -clap_complete = "4" -chrono = { version = "0.4" } -color-eyre = { version = "0.6" } -dirs = { version = "6" } -fs-tail = "0.1" -lazy_static = { version = "1" } -reqwest = { version = "0.12", features = ["blocking"] } -schemars = { version = "1.1", optional = true } -serde_json = { package = "serde_json_lenient", version = "0.2" } -shadow-rs = { version = "1" } -sysinfo = { version = "0.38" } - -[features] -default = ["schemars"] -schemars = ["dep:schemars", "komorebi-client/default"] - -[lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)'] } - -[[bin]] -name = "komorebic" -path = "src/main.rs" diff --git a/komorebi-for-mac/komorebic/applications.json b/komorebi-for-mac/komorebic/applications.json deleted file mode 100644 index e00e8b12..00000000 --- a/komorebi-for-mac/komorebic/applications.json +++ /dev/null @@ -1,286 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi-for-mac/master/schema.asc.json", - "Archive Utility": { - "ignore": [ - [ - { - "kind": "Exe", - "id": "Archive Utility", - "matching_strategy": "Equals" - } - ] - ] - }, - "Cloudflare Warp": { - "ignore": [ - { - "kind": "Exe", - "id": "Updater", - "matching_strategy": "Equals" - }, - [ - { - "kind": "Exe", - "id": "Cloudflare WARP", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "Updating Cloudflare WARP", - "matching_strategy": "Equals" - } - ] - ] - }, - "Control Center": { - "ignore": [ - { - "kind": "Exe", - "id": "Control Center", - "matching_strategy": "Equals" - } - ] - }, - "Discord": { - "ignore": [ - [ - { - "kind": "Exe", - "id": "Discord", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "DiscordUpdater", - "matching_strategy": "Equals" - } - ] - ] - }, - "Finder": { - "tabbed": [ - { - "kind": "Exe", - "id": "Finder", - "matching_strategy": "Equals" - } - ], - "ignore": [ - [ - { - "kind": "Exe", - "id": "Finder", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "Info", - "matching_strategy": "EndsWith" - } - ], - [ - { - "kind": "Exe", - "id": "Finder", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "Copy", - "matching_strategy": "Equals" - } - ] - ] - }, - "Ghostty": { - "tabbed": [ - { - "kind": "Exe", - "id": "Ghostty", - "matching_strategy": "Equals" - } - ], - "titleless": [ - { - "kind": "Exe", - "id": "Ghostty", - "matching_strategy": "Equals" - } - ] - }, - "Installer": { - "ignore": [ - { - "kind": "Exe", - "id": "Installer", - "matching_strategy": "Equals" - } - ] - }, - "MobileDeviceUpdater": { - "ignore": [ - { - "kind": "Exe", - "id": "MobileDeviceUpdater", - "matching_strategy": "Equals" - } - ] - }, - "Notification Center": { - "ignore": [ - { - "kind": "Exe", - "id": "Notification Center", - "matching_strategy": "Equals" - } - ] - }, - "Photos": { - "titleless": [ - { - "kind": "Exe", - "id": "Photos", - "matching_strategy": "Equals" - } - ] - }, - "RustRover": { - "ignore": [ - [ - { - "kind": "Exe", - "id": "java", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "Update", - "matching_strategy": "Equals" - } - ], - [ - { - "kind": "Exe", - "id": "RustRover", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "–", - "matching_strategy": "DoesNotContain" - } - ] - ] - }, - "SecurityAgent": { - "ignore": [ - { - "kind": "Exe", - "id": "SecurityAgent", - "matching_strategy": "Equals" - } - ] - }, - "System Information": { - "ignore": [ - { - "kind": "Exe", - "id": "System Information", - "matching_strategy": "Equals" - } - ] - }, - "System Settings": { - "ignore": [ - { - "kind": "Exe", - "id": "System Settings", - "matching_strategy": "Equals" - } - ] - }, - "Tailscale": { - "ignore": [ - [ - { - "kind": "Exe", - "id": "Tailscale", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "Software Update", - "matching_strategy": "Equals" - } - ], - [ - { - "kind": "Exe", - "id": "Tailscale", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "Updating Tailscale", - "matching_strategy": "Equals" - } - ] - ] - }, - "Zed": { - "ignore": [ - [ - { - "kind": "Exe", - "id": "Zed", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "Open", - "matching_strategy": "Equals" - } - ] - ] - }, - "Zen": { - "ignore": [ - [ - { - "kind": "Exe", - "id": "Zen", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "File Upload", - "matching_strategy": "Equals" - } - ], - [ - { - "kind": "Exe", - "id": "Zen", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "Enter name of file to save to", - "matching_strategy": "StartsWith" - } - ], - [ - { - "kind": "Exe", - "id": "Zen", - "matching_strategy": "Equals" - }, - { - "kind": "Title", - "id": "Picture-in-Picture", - "matching_strategy": "Equals" - } - ] - ] - } -} diff --git a/komorebi-for-mac/komorebic/fixtures/gesture-stream.transcript.txt b/komorebi-for-mac/komorebic/fixtures/gesture-stream.transcript.txt deleted file mode 100644 index faf68116..00000000 --- a/komorebi-for-mac/komorebic/fixtures/gesture-stream.transcript.txt +++ /dev/null @@ -1,5 +0,0 @@ -begin fingers=3 x=4.000 y=2.000 w=10.500 h=7.200 t=118337 -move dx=0.420 dy=-0.030 x=4.420 y=1.970 t=118345 -move dx=0.510 dy=-0.020 x=4.930 y=1.950 t=118353 -move dx=0.470 dy=0.000 x=5.400 y=1.950 t=118361 -end x=5.400 y=1.950 t=118369 diff --git a/komorebi-for-mac/komorebic/fixtures/pan3-flick.transcript.txt b/komorebi-for-mac/komorebic/fixtures/pan3-flick.transcript.txt deleted file mode 100644 index 906d331a..00000000 --- a/komorebi-for-mac/komorebic/fixtures/pan3-flick.transcript.txt +++ /dev/null @@ -1,18 +0,0 @@ -begin fingers=3 x=5.000 y=3.000 w=11.700 h=7.500 t=100048 -move dx=0.267 dy=0.000 x=5.267 y=3.000 t=100088 -move dx=0.267 dy=0.000 x=5.533 y=3.000 t=100096 -move dx=0.267 dy=0.000 x=5.800 y=3.000 t=100104 -move dx=0.267 dy=0.000 x=6.067 y=3.000 t=100112 -move dx=0.267 dy=0.000 x=6.333 y=3.000 t=100120 -move dx=0.267 dy=0.000 x=6.600 y=3.000 t=100128 -swipe swipe3right -move dx=0.267 dy=0.000 x=6.867 y=3.000 t=100136 -move dx=0.267 dy=0.000 x=7.133 y=3.000 t=100144 -move dx=0.267 dy=0.000 x=7.400 y=3.000 t=100152 -move dx=0.267 dy=0.000 x=7.667 y=3.000 t=100160 -move dx=0.267 dy=0.000 x=7.933 y=3.000 t=100168 -move dx=0.267 dy=0.000 x=8.200 y=3.000 t=100176 -move dx=0.267 dy=0.000 x=8.467 y=3.000 t=100184 -move dx=0.267 dy=0.000 x=8.733 y=3.000 t=100192 -move dx=0.267 dy=0.000 x=9.000 y=3.000 t=100200 -end x=9.000 y=3.000 t=100208 diff --git a/komorebi-for-mac/komorebic/fixtures/pan3-long.transcript.txt b/komorebi-for-mac/komorebic/fixtures/pan3-long.transcript.txt deleted file mode 100644 index eb2a7b0c..00000000 --- a/komorebi-for-mac/komorebic/fixtures/pan3-long.transcript.txt +++ /dev/null @@ -1,218 +0,0 @@ -begin fingers=3 x=5.000 y=3.000 w=11.700 h=7.500 t=100048 -move dx=0.007 dy=0.000 x=5.015 y=3.001 t=100110 -move dx=0.008 dy=0.000 x=5.023 y=3.001 t=100119 -move dx=0.010 dy=0.001 x=5.033 y=3.002 t=100129 -move dx=0.012 dy=0.001 x=5.045 y=3.003 t=100136 -move dx=0.014 dy=0.001 x=5.059 y=3.004 t=100142 -move dx=0.015 dy=0.001 x=5.074 y=3.004 t=100153 -move dx=0.017 dy=0.001 x=5.091 y=3.005 t=100160 -move dx=0.018 dy=0.001 x=5.109 y=3.007 t=100168 -move dx=0.020 dy=0.001 x=5.129 y=3.008 t=100174 -move dx=0.022 dy=0.001 x=5.151 y=3.009 t=100184 -move dx=0.023 dy=0.001 x=5.174 y=3.010 t=100193 -move dx=0.025 dy=0.001 x=5.199 y=3.012 t=100199 -move dx=0.026 dy=0.002 x=5.225 y=3.013 t=100207 -move dx=0.027 dy=0.002 x=5.252 y=3.015 t=100217 -move dx=0.029 dy=0.002 x=5.281 y=3.017 t=100223 -move dx=0.030 dy=0.002 x=5.311 y=3.019 t=100231 -move dx=0.032 dy=0.002 x=5.343 y=3.021 t=100240 -move dx=0.033 dy=0.002 x=5.376 y=3.023 t=100248 -move dx=0.034 dy=0.002 x=5.410 y=3.025 t=100256 -move dx=0.035 dy=0.002 x=5.446 y=3.027 t=100262 -move dx=0.037 dy=0.002 x=5.482 y=3.029 t=100272 -move dx=0.038 dy=0.002 x=5.520 y=3.031 t=100281 -move dx=0.039 dy=0.002 x=5.559 y=3.034 t=100287 -move dx=0.040 dy=0.002 x=5.599 y=3.036 t=100294 -move dx=0.041 dy=0.002 x=5.640 y=3.038 t=100303 -move dx=0.042 dy=0.003 x=5.682 y=3.041 t=100312 -move dx=0.043 dy=0.003 x=5.726 y=3.044 t=100318 -move dx=0.044 dy=0.003 x=5.770 y=3.046 t=100327 -move dx=0.045 dy=0.003 x=5.815 y=3.049 t=100334 -move dx=0.046 dy=0.003 x=5.861 y=3.052 t=100342 -move dx=0.047 dy=0.003 x=5.909 y=3.055 t=100351 -move dx=0.048 dy=0.003 x=5.956 y=3.057 t=100360 -move dx=0.049 dy=0.003 x=6.005 y=3.060 t=100369 -move dx=0.050 dy=0.003 x=6.055 y=3.063 t=100375 -move dx=0.050 dy=0.003 x=6.105 y=3.066 t=100383 -move dx=0.051 dy=0.003 x=6.156 y=3.069 t=100390 -move dx=0.052 dy=0.003 x=6.208 y=3.072 t=100400 -move dx=0.053 dy=0.003 x=6.261 y=3.076 t=100406 -move dx=0.053 dy=0.003 x=6.314 y=3.079 t=100414 -move dx=0.054 dy=0.003 x=6.368 y=3.082 t=100423 -move dx=0.054 dy=0.003 x=6.422 y=3.085 t=100431 -move dx=0.055 dy=0.003 x=6.477 y=3.089 t=100439 -move dx=0.056 dy=0.003 x=6.533 y=3.092 t=100448 -swipe swipe3right -move dx=0.056 dy=0.003 x=6.589 y=3.095 t=100454 -move dx=0.057 dy=0.003 x=6.646 y=3.099 t=100464 -move dx=0.057 dy=0.003 x=6.703 y=3.102 t=100472 -move dx=0.057 dy=0.003 x=6.760 y=3.106 t=100481 -move dx=0.058 dy=0.003 x=6.818 y=3.109 t=100487 -move dx=0.058 dy=0.003 x=6.876 y=3.113 t=100497 -move dx=0.058 dy=0.004 x=6.934 y=3.116 t=100504 -move dx=0.059 dy=0.004 x=6.993 y=3.120 t=100511 -move dx=0.059 dy=0.004 x=7.052 y=3.123 t=100520 -move dx=0.059 dy=0.004 x=7.111 y=3.127 t=100527 -move dx=0.059 dy=0.004 x=7.171 y=3.130 t=100535 -move dx=0.060 dy=0.004 x=7.230 y=3.134 t=100543 -move dx=0.060 dy=0.004 x=7.290 y=3.137 t=100552 -move dx=0.060 dy=0.004 x=7.350 y=3.141 t=100561 -move dx=0.060 dy=0.004 x=7.410 y=3.145 t=100567 -move dx=0.060 dy=0.004 x=7.470 y=3.148 t=100576 -move dx=0.060 dy=0.004 x=7.530 y=3.152 t=100584 -move dx=0.060 dy=0.004 x=7.590 y=3.155 t=100591 -move dx=0.060 dy=0.004 x=7.650 y=3.159 t=100600 -move dx=0.060 dy=0.004 x=7.710 y=3.163 t=100609 -move dx=0.060 dy=0.004 x=7.770 y=3.166 t=100615 -move dx=0.060 dy=0.004 x=7.829 y=3.170 t=100624 -move dx=0.059 dy=0.004 x=7.889 y=3.173 t=100632 -move dx=0.059 dy=0.004 x=7.948 y=3.177 t=100640 -move dx=0.059 dy=0.004 x=8.007 y=3.180 t=100648 -move dx=0.059 dy=0.004 x=8.066 y=3.184 t=100654 -move dx=0.058 dy=0.004 x=8.124 y=3.187 t=100664 -move dx=0.058 dy=0.003 x=8.182 y=3.191 t=100672 -move dx=0.058 dy=0.003 x=8.240 y=3.194 t=100680 -move dx=0.057 dy=0.003 x=8.297 y=3.198 t=100688 -move dx=0.057 dy=0.003 x=8.354 y=3.201 t=100694 -move dx=0.057 dy=0.003 x=8.411 y=3.205 t=100703 -move dx=0.056 dy=0.003 x=8.467 y=3.208 t=100712 -move dx=0.056 dy=0.003 x=8.523 y=3.211 t=100718 -move dx=0.055 dy=0.003 x=8.578 y=3.215 t=100728 -move dx=0.054 dy=0.003 x=8.632 y=3.218 t=100735 -move dx=0.054 dy=0.003 x=8.686 y=3.221 t=100744 -move dx=0.053 dy=0.003 x=8.739 y=3.224 t=100752 -move dx=0.053 dy=0.003 x=8.792 y=3.228 t=100760 -move dx=0.052 dy=0.003 x=8.844 y=3.231 t=100769 -move dx=0.051 dy=0.003 x=8.895 y=3.234 t=100774 -move dx=0.050 dy=0.003 x=8.945 y=3.237 t=100785 -move dx=0.050 dy=0.003 x=8.995 y=3.240 t=100792 -move dx=0.049 dy=0.003 x=9.044 y=3.243 t=100799 -move dx=0.048 dy=0.003 x=9.091 y=3.245 t=100809 -move dx=0.047 dy=0.003 x=9.139 y=3.248 t=100815 -move dx=0.046 dy=0.003 x=9.185 y=3.251 t=100824 -move dx=0.045 dy=0.003 x=9.230 y=3.254 t=100832 -move dx=0.044 dy=0.003 x=9.274 y=3.256 t=100839 -move dx=0.043 dy=0.003 x=9.318 y=3.259 t=100846 -move dx=0.042 dy=0.003 x=9.360 y=3.262 t=100856 -move dx=0.041 dy=0.002 x=9.401 y=3.264 t=100863 -move dx=0.040 dy=0.002 x=9.441 y=3.266 t=100873 -move dx=0.039 dy=0.002 x=9.480 y=3.269 t=100880 -move dx=0.038 dy=0.002 x=9.518 y=3.271 t=100887 -move dx=0.037 dy=0.002 x=9.554 y=3.273 t=100897 -move dx=0.035 dy=0.002 x=9.590 y=3.275 t=100904 -move dx=0.034 dy=0.002 x=9.624 y=3.277 t=100912 -move dx=0.033 dy=0.002 x=9.657 y=3.279 t=100918 -move dx=0.032 dy=0.002 x=9.689 y=3.281 t=100929 -move dx=0.030 dy=0.002 x=9.719 y=3.283 t=100935 -move dx=0.029 dy=0.002 x=9.748 y=3.285 t=100944 -move dx=0.027 dy=0.002 x=9.775 y=3.287 t=100952 -move dx=0.026 dy=0.002 x=9.801 y=3.288 t=100959 -move dx=0.025 dy=0.001 x=9.826 y=3.290 t=100968 -move dx=0.023 dy=0.001 x=9.849 y=3.291 t=100974 -move dx=0.022 dy=0.001 x=9.871 y=3.292 t=100983 -move dx=0.020 dy=0.001 x=9.891 y=3.293 t=100991 -move dx=0.018 dy=0.001 x=9.909 y=3.295 t=101001 -move dx=0.017 dy=0.001 x=9.926 y=3.296 t=101008 -move dx=0.015 dy=0.001 x=9.941 y=3.296 t=101016 -move dx=0.014 dy=0.001 x=9.955 y=3.297 t=101023 -move dx=0.012 dy=0.001 x=9.967 y=3.298 t=101033 -move dx=0.010 dy=0.001 x=9.977 y=3.299 t=101039 -move dx=0.008 dy=0.000 x=9.985 y=3.299 t=101048 -move dx=0.007 dy=0.000 x=9.991 y=3.299 t=101056 -move dx=-0.005 dy=-0.001 x=9.991 y=3.299 t=101105 -move dx=-0.007 dy=-0.001 x=9.984 y=3.298 t=101110 -move dx=-0.009 dy=-0.001 x=9.975 y=3.297 t=101121 -move dx=-0.011 dy=-0.001 x=9.964 y=3.296 t=101126 -move dx=-0.013 dy=-0.001 x=9.951 y=3.295 t=101135 -move dx=-0.014 dy=-0.001 x=9.937 y=3.294 t=101143 -move dx=-0.016 dy=-0.002 x=9.921 y=3.292 t=101151 -move dx=-0.018 dy=-0.002 x=9.903 y=3.290 t=101159 -move dx=-0.019 dy=-0.002 x=9.884 y=3.288 t=101168 -move dx=-0.021 dy=-0.002 x=9.863 y=3.286 t=101177 -move dx=-0.022 dy=-0.002 x=9.841 y=3.284 t=101182 -move dx=-0.024 dy=-0.002 x=9.817 y=3.282 t=101192 -move dx=-0.025 dy=-0.002 x=9.792 y=3.279 t=101198 -move dx=-0.026 dy=-0.003 x=9.766 y=3.277 t=101208 -move dx=-0.027 dy=-0.003 x=9.738 y=3.274 t=101216 -move dx=-0.029 dy=-0.003 x=9.710 y=3.271 t=101222 -move dx=-0.030 dy=-0.003 x=9.680 y=3.268 t=101231 -move dx=-0.031 dy=-0.003 x=9.649 y=3.265 t=101240 -move dx=-0.032 dy=-0.003 x=9.617 y=3.262 t=101247 -move dx=-0.033 dy=-0.003 x=9.585 y=3.258 t=101254 -move dx=-0.034 dy=-0.003 x=9.551 y=3.255 t=101265 -move dx=-0.034 dy=-0.003 x=9.517 y=3.252 t=101273 -move dx=-0.035 dy=-0.004 x=9.481 y=3.248 t=101280 -move dx=-0.036 dy=-0.004 x=9.446 y=3.245 t=101287 -move dx=-0.037 dy=-0.004 x=9.409 y=3.241 t=101295 -move dx=-0.037 dy=-0.004 x=9.372 y=3.237 t=101304 -move dx=-0.038 dy=-0.004 x=9.334 y=3.233 t=101313 -move dx=-0.038 dy=-0.004 x=9.296 y=3.230 t=101319 -move dx=-0.039 dy=-0.004 x=9.257 y=3.226 t=101328 -move dx=-0.039 dy=-0.004 x=9.218 y=3.222 t=101335 -move dx=-0.039 dy=-0.004 x=9.179 y=3.218 t=101342 -move dx=-0.040 dy=-0.004 x=9.140 y=3.214 t=101353 -move dx=-0.040 dy=-0.004 x=9.100 y=3.210 t=101359 -move dx=-0.040 dy=-0.004 x=9.060 y=3.206 t=101367 -move dx=-0.040 dy=-0.004 x=9.020 y=3.202 t=101375 -move dx=-0.040 dy=-0.004 x=8.980 y=3.198 t=101384 -move dx=-0.040 dy=-0.004 x=8.940 y=3.194 t=101390 -move dx=-0.040 dy=-0.004 x=8.900 y=3.190 t=101399 -move dx=-0.040 dy=-0.004 x=8.860 y=3.186 t=101408 -move dx=-0.040 dy=-0.004 x=8.821 y=3.182 t=101417 -move dx=-0.039 dy=-0.004 x=8.782 y=3.178 t=101425 -move dx=-0.039 dy=-0.004 x=8.743 y=3.174 t=101430 -move dx=-0.039 dy=-0.004 x=8.704 y=3.170 t=101441 -move dx=-0.038 dy=-0.004 x=8.666 y=3.167 t=101448 -move dx=-0.038 dy=-0.004 x=8.628 y=3.163 t=101457 -move dx=-0.037 dy=-0.004 x=8.591 y=3.159 t=101465 -move dx=-0.037 dy=-0.004 x=8.554 y=3.155 t=101470 -move dx=-0.036 dy=-0.004 x=8.519 y=3.152 t=101479 -move dx=-0.035 dy=-0.004 x=8.483 y=3.148 t=101488 -move dx=-0.034 dy=-0.003 x=8.449 y=3.145 t=101495 -move dx=-0.034 dy=-0.003 x=8.415 y=3.142 t=101505 -move dx=-0.033 dy=-0.003 x=8.383 y=3.138 t=101511 -move dx=-0.032 dy=-0.003 x=8.351 y=3.135 t=101520 -move dx=-0.031 dy=-0.003 x=8.320 y=3.132 t=101526 -move dx=-0.030 dy=-0.003 x=8.290 y=3.129 t=101537 -move dx=-0.029 dy=-0.003 x=8.262 y=3.126 t=101545 -move dx=-0.027 dy=-0.003 x=8.234 y=3.123 t=101553 -move dx=-0.026 dy=-0.003 x=8.208 y=3.121 t=101559 -move dx=-0.025 dy=-0.002 x=8.183 y=3.118 t=101567 -move dx=-0.024 dy=-0.002 x=8.159 y=3.116 t=101577 -move dx=-0.022 dy=-0.002 x=8.137 y=3.114 t=101584 -move dx=-0.021 dy=-0.002 x=8.116 y=3.112 t=101591 -move dx=-0.019 dy=-0.002 x=8.097 y=3.110 t=101600 -move dx=-0.018 dy=-0.002 x=8.079 y=3.108 t=101606 -move dx=-0.016 dy=-0.002 x=8.063 y=3.106 t=101615 -move dx=-0.014 dy=-0.001 x=8.049 y=3.105 t=101624 -move dx=-0.013 dy=-0.001 x=8.036 y=3.104 t=101633 -move dx=-0.011 dy=-0.001 x=8.025 y=3.103 t=101640 -move dx=-0.009 dy=-0.001 x=8.016 y=3.102 t=101647 -move dx=-0.007 dy=-0.001 x=8.009 y=3.101 t=101656 -move dx=-0.005 dy=-0.001 x=8.004 y=3.100 t=101663 -move dx=0.128 dy=0.000 x=8.128 y=3.100 t=101688 -move dx=0.128 dy=0.000 x=8.256 y=3.100 t=101696 -move dx=0.128 dy=0.000 x=8.384 y=3.100 t=101705 -move dx=0.128 dy=0.000 x=8.512 y=3.100 t=101713 -move dx=0.128 dy=0.000 x=8.640 y=3.100 t=101721 -move dx=0.128 dy=0.000 x=8.768 y=3.100 t=101728 -move dx=0.128 dy=0.000 x=8.896 y=3.100 t=101735 -move dx=0.128 dy=0.000 x=9.024 y=3.100 t=101743 -move dx=0.128 dy=0.000 x=9.152 y=3.100 t=101751 -move dx=0.128 dy=0.000 x=9.280 y=3.100 t=101759 -move dx=0.128 dy=0.000 x=9.408 y=3.100 t=101769 -move dx=0.128 dy=0.000 x=9.536 y=3.100 t=101774 -move dx=0.128 dy=0.000 x=9.664 y=3.100 t=101783 -move dx=0.128 dy=0.000 x=9.792 y=3.100 t=101792 -move dx=0.128 dy=0.000 x=9.920 y=3.100 t=101800 -move dx=0.128 dy=0.000 x=10.048 y=3.100 t=101809 -move dx=0.128 dy=0.000 x=10.176 y=3.100 t=101814 -move dx=0.128 dy=0.000 x=10.304 y=3.100 t=101822 -move dx=0.128 dy=0.000 x=10.432 y=3.100 t=101831 -move dx=0.128 dy=0.000 x=10.560 y=3.100 t=101841 -move dx=0.128 dy=0.000 x=10.688 y=3.100 t=101847 -move dx=0.128 dy=0.000 x=10.816 y=3.100 t=101856 -move dx=0.128 dy=0.000 x=10.944 y=3.100 t=101864 -move dx=0.128 dy=0.000 x=11.072 y=3.100 t=101872 -move dx=0.128 dy=0.000 x=11.200 y=3.100 t=101880 -end x=11.200 y=3.100 t=101888 diff --git a/komorebi-for-mac/komorebic/fixtures/pan3-slow.transcript.txt b/komorebi-for-mac/komorebic/fixtures/pan3-slow.transcript.txt deleted file mode 100644 index 490b91e5..00000000 --- a/komorebi-for-mac/komorebic/fixtures/pan3-slow.transcript.txt +++ /dev/null @@ -1,67 +0,0 @@ -begin fingers=3 x=5.000 y=3.000 w=11.700 h=7.500 t=100048 -move dx=0.006 dy=0.001 x=5.020 y=3.002 t=100128 -move dx=0.007 dy=0.001 x=5.027 y=3.002 t=100136 -move dx=0.008 dy=0.001 x=5.035 y=3.003 t=100144 -move dx=0.009 dy=0.001 x=5.044 y=3.004 t=100152 -move dx=0.010 dy=0.001 x=5.053 y=3.005 t=100160 -move dx=0.011 dy=0.001 x=5.064 y=3.006 t=100168 -move dx=0.011 dy=0.001 x=5.075 y=3.007 t=100176 -move dx=0.012 dy=0.001 x=5.088 y=3.008 t=100184 -move dx=0.013 dy=0.001 x=5.101 y=3.009 t=100192 -move dx=0.014 dy=0.001 x=5.114 y=3.010 t=100200 -move dx=0.014 dy=0.001 x=5.129 y=3.012 t=100208 -move dx=0.015 dy=0.001 x=5.144 y=3.013 t=100216 -move dx=0.016 dy=0.001 x=5.160 y=3.015 t=100224 -move dx=0.016 dy=0.001 x=5.176 y=3.016 t=100232 -move dx=0.017 dy=0.002 x=5.193 y=3.018 t=100240 -move dx=0.017 dy=0.002 x=5.210 y=3.019 t=100248 -move dx=0.018 dy=0.002 x=5.228 y=3.021 t=100256 -move dx=0.018 dy=0.002 x=5.247 y=3.022 t=100264 -move dx=0.019 dy=0.002 x=5.266 y=3.024 t=100272 -move dx=0.019 dy=0.002 x=5.285 y=3.026 t=100280 -move dx=0.020 dy=0.002 x=5.305 y=3.028 t=100288 -move dx=0.020 dy=0.002 x=5.325 y=3.030 t=100296 -move dx=0.020 dy=0.002 x=5.345 y=3.031 t=100304 -move dx=0.021 dy=0.002 x=5.366 y=3.033 t=100312 -move dx=0.021 dy=0.002 x=5.387 y=3.035 t=100320 -move dx=0.021 dy=0.002 x=5.408 y=3.037 t=100328 -move dx=0.021 dy=0.002 x=5.430 y=3.039 t=100336 -move dx=0.022 dy=0.002 x=5.451 y=3.041 t=100344 -move dx=0.022 dy=0.002 x=5.473 y=3.043 t=100352 -move dx=0.022 dy=0.002 x=5.495 y=3.045 t=100360 -move dx=0.022 dy=0.002 x=5.517 y=3.047 t=100368 -move dx=0.022 dy=0.002 x=5.539 y=3.049 t=100376 -move dx=0.022 dy=0.002 x=5.561 y=3.051 t=100384 -move dx=0.022 dy=0.002 x=5.583 y=3.053 t=100392 -move dx=0.022 dy=0.002 x=5.605 y=3.055 t=100400 -move dx=0.022 dy=0.002 x=5.627 y=3.057 t=100408 -move dx=0.022 dy=0.002 x=5.649 y=3.059 t=100416 -move dx=0.022 dy=0.002 x=5.670 y=3.061 t=100424 -move dx=0.021 dy=0.002 x=5.692 y=3.063 t=100432 -move dx=0.021 dy=0.002 x=5.713 y=3.065 t=100440 -move dx=0.021 dy=0.002 x=5.734 y=3.067 t=100448 -move dx=0.021 dy=0.002 x=5.755 y=3.069 t=100456 -move dx=0.020 dy=0.002 x=5.775 y=3.070 t=100464 -move dx=0.020 dy=0.002 x=5.795 y=3.072 t=100472 -move dx=0.020 dy=0.002 x=5.815 y=3.074 t=100480 -move dx=0.019 dy=0.002 x=5.834 y=3.076 t=100488 -move dx=0.019 dy=0.002 x=5.853 y=3.078 t=100496 -move dx=0.018 dy=0.002 x=5.872 y=3.079 t=100504 -move dx=0.018 dy=0.002 x=5.890 y=3.081 t=100512 -move dx=0.017 dy=0.002 x=5.907 y=3.082 t=100520 -move dx=0.017 dy=0.002 x=5.924 y=3.084 t=100528 -move dx=0.016 dy=0.001 x=5.940 y=3.085 t=100536 -move dx=0.016 dy=0.001 x=5.956 y=3.087 t=100544 -move dx=0.015 dy=0.001 x=5.971 y=3.088 t=100552 -move dx=0.014 dy=0.001 x=5.986 y=3.090 t=100560 -move dx=0.014 dy=0.001 x=5.999 y=3.091 t=100568 -move dx=0.013 dy=0.001 x=6.012 y=3.092 t=100576 -move dx=0.012 dy=0.001 x=6.025 y=3.093 t=100584 -move dx=0.011 dy=0.001 x=6.036 y=3.094 t=100592 -move dx=0.011 dy=0.001 x=6.047 y=3.095 t=100600 -move dx=0.010 dy=0.001 x=6.056 y=3.096 t=100608 -move dx=0.009 dy=0.001 x=6.065 y=3.097 t=100616 -move dx=0.008 dy=0.001 x=6.073 y=3.098 t=100624 -move dx=0.007 dy=0.001 x=6.080 y=3.098 t=100632 -move dx=0.006 dy=0.001 x=6.086 y=3.099 t=100640 -end x=6.100 y=3.100 t=100688 diff --git a/komorebi-for-mac/komorebic/src/main.rs b/komorebi-for-mac/komorebic/src/main.rs deleted file mode 100644 index 1d6b621d..00000000 --- a/komorebi-for-mac/komorebic/src/main.rs +++ /dev/null @@ -1,9 +0,0 @@ -//! `komorebic-macos`: the macOS command line of the unified `komorebic` package, kept under its old -//! package name until the cutover. The code is in `komorebic/src/macos`. - -#[path = "../../../komorebic/src/macos/mod.rs"] -mod macos; - -fn main() -> color_eyre::eyre::Result<()> { - macos::main() -} diff --git a/komorebic/src/main.rs b/komorebic/src/main.rs index c56c56ad..eec95fa9 100644 --- a/komorebic/src/main.rs +++ b/komorebic/src/main.rs @@ -2,8 +2,7 @@ //! //! The platform is the target OS: each of the three modules is the CLI of one platform, with the //! subcommands that platform has, and `main` runs the one that was compiled in. The code they share -//! is `komorebic-core`. The Linux and macOS modules are still in their own trees and are included -//! from there. +//! is `komorebic-core`. cfg_select! { target_os = "windows" => { diff --git a/tools/fast-check b/tools/fast-check index 21609edb..50476a05 100755 --- a/tools/fast-check +++ b/tools/fast-check @@ -99,7 +99,7 @@ if [ "$want_kde" = 1 ]; then "export CARGO_TARGET_DIR=$S/kde-target COMMIT_HASH=\${COMMIT_HASH:-dev}; K=komorebi; grep -q 'name = \"komorebi-linux\"' $( [ $MERGED = 1 ] && echo komorebi-for-kde/ )komorebi/Cargo.toml && K=komorebi-linux; export K; nix shell nixpkgs#gcc -c bash -c 'cargo check --locked -p \$K && { [ -d komorebi-daemon ] && cargo check --locked -p komorebi || true; } && cargo test --locked -p \$K --lib && cargo test --locked -p \$K --test schemas -- --test-threads=1'" fi if [ "$want_mac" = 1 ]; then - if [ $MERGED = 1 ]; then MD=.; MP="-p komorebi -p komorebi-macos -p komorebic-macos -p komorebi-client-macos -p komorebi-bar-macos"; else MD=komorebi-for-mac; MP=--workspace; fi + if [ $MERGED = 1 ]; then MD=.; MP="-p komorebi -p komorebi-macos -p komorebic -p komorebi-client -p komorebi-bar"; else MD=komorebi-for-mac; MP=--workspace; fi add "macos: type-check only (fake CC, cannot link)" "$MD" \ "export CARGO_TARGET_DIR=$S/target-fast-mac COMMIT_HASH=\${COMMIT_HASH:-dev} CC_aarch64_apple_darwin=$HERE/cc-fake.sh AR_aarch64_apple_darwin=ar; PKG_CONFIG_PATH=\$(nix build --no-link --print-out-paths nixpkgs#openssl.dev)/lib/pkgconfig; export PKG_CONFIG_PATH; nix shell nixpkgs#gcc nixpkgs#pkg-config nixpkgs#openssl.dev -c cargo check --locked --target aarch64-apple-darwin $MP --all-targets" fi diff --git a/tools/kde-closure-check b/tools/kde-closure-check index 87ec0d1b..51f38c8c 100755 --- a/tools/kde-closure-check +++ b/tools/kde-closure-check @@ -14,7 +14,7 @@ if [ -f "$root/komorebi-for-kde/Cargo.toml" ]; then | ltrimstr($r) | sub("/Cargo.toml$"; "")' | sort) else # merged workspace: the closure of the KDE packages on a Linux target - have=$(cd "$root" && for p in komorebi-linux komorebic-linux komorebi-client-linux komorebi-hotkeys; do + have=$(cd "$root" && for p in komorebi-linux komorebic komorebi-client komorebi-hotkeys; do nice -n 19 cargo tree --offline --locked -p "$p" --target x86_64-unknown-linux-gnu --prefix none -e normal,build,dev 2>/dev/null done | grep -o "($root/[^)]*)" | tr -d '()' | sed "s#^$root/##" | grep -v '^komorebi-for-kde' | sort -u) fi diff --git a/tools/mac-check.sh b/tools/mac-check.sh index c1da3dd3..238e47e3 100755 --- a/tools/mac-check.sh +++ b/tools/mac-check.sh @@ -13,7 +13,7 @@ if [ -f komorebi-for-kde/Cargo.toml ]; then cd komorebi-for-mac PKGS=(--workspace) else - PKGS=(-p komorebi -p komorebi-macos -p komorebic-macos -p komorebi-client-macos -p komorebi-bar-macos) + PKGS=(-p komorebi -p komorebi-macos -p komorebic -p komorebi-client -p komorebi-bar) fi export CARGO_TARGET_DIR="$S/target-fast-mac" COMMIT_HASH="${COMMIT_HASH:-dev}" export CC_aarch64_apple_darwin="$HERE/cc-fake.sh" AR_aarch64_apple_darwin=ar