diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index bff8f967..30b0e4ed 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -87,8 +87,10 @@ jobs: path: | target/${{ matrix.target }}/release/komorebi.exe target/${{ matrix.target }}/release/komorebic.exe + target/${{ matrix.target }}/release/komorebic-no-console.exe target/${{ matrix.target }}/release/komorebi.pdb target/${{ matrix.target }}/release/komorebic.pdb + target/${{ matrix.target }}/release/komorebic-no-console.pdb target/wix/komorebi-*.msi retention-days: 7 diff --git a/.goreleaser.yml b/.goreleaser.yml index 16e04ce3..f98a3e81 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -34,7 +34,7 @@ builds: hooks: post: - mkdir -p dist/windows_amd64 - - cp ".\target\x86_64-pc-windows-msvc\release\komorebic-no-console.exe" ".\dist\komorebic_no_console_windows_amd64_v1\komorebic-no-console.exe" + - cp ".\target\x86_64-pc-windows-msvc\release\komorebic-no-console.exe" ".\dist\komorebic-no-console_windows_amd64_v1\komorebic-no-console.exe" archives: - name_template: "{{ .ProjectName }}-{{ .Version }}-x86_64-pc-windows-msvc" diff --git a/Cargo.lock b/Cargo.lock index 02bb47bd..d5d8291b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,9 +28,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.4" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" +checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" dependencies = [ "anstyle", "anstyle-parse", @@ -42,36 +42,36 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" [[package]] name = "anstyle-parse" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" dependencies = [ "anstyle", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -106,9 +106,9 @@ dependencies = [ [[package]] name = "base64" -version = "0.21.5" +version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "bitflags" @@ -118,9 +118,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" [[package]] name = "bumpalo" @@ -157,9 +157,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "4.4.11" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfaff671f6b22ca62406885ece523383b9b64022e341e53e009a62ebc47a45f2" +checksum = "80c21025abd42669a92efc996ef13cfb2c5c627858421ea58d5c3b331a6c134f" dependencies = [ "clap_builder", "clap_derive", @@ -167,9 +167,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.11" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a216b506622bb1d316cd51328dce24e07bdff4a6128a47c7e7fad11878d5adbb" +checksum = "458bf1f341769dfcf849846f65dffdf9146daa56bcd2a47cb4e1de9915567c99" dependencies = [ "anstream", "anstyle", @@ -180,9 +180,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" dependencies = [ "heck", "proc-macro2", @@ -192,9 +192,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "color-eyre" @@ -256,36 +256,28 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.3" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ - "cfg-if 1.0.0", "crossbeam-epoch", "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" -version = "0.9.15" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ - "autocfg", - "cfg-if 1.0.0", "crossbeam-utils", - "memoffset", - "scopeguard", ] [[package]] name = "crossbeam-utils" -version = "0.8.18" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c" -dependencies = [ - "cfg-if 1.0.0", -] +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" [[package]] name = "ctrlc" @@ -299,9 +291,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.9" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" dependencies = [ "powerfmt", ] @@ -350,9 +342,9 @@ checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" [[package]] name = "either" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "encoding_rs" @@ -381,9 +373,9 @@ dependencies = [ [[package]] name = "eyre" -version = "0.6.9" +version = "0.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80f656be11ddf91bd709454d15d5bd896fbaf4cc3314e69349e4d1569f5b46cd" +checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec" dependencies = [ "indenter", "once_cell", @@ -397,14 +389,14 @@ checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] name = "filetime" -version = "0.2.22" +version = "0.2.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" +checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.3.5", - "windows-sys 0.48.0", + "redox_syscall", + "windows-sys 0.52.0", ] [[package]] @@ -489,42 +481,42 @@ checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" [[package]] name = "futures-channel" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" dependencies = [ "futures-core", ] [[package]] name = "futures-core" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" [[package]] name = "futures-io" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" [[package]] name = "futures-sink" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" [[package]] name = "futures-task" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-util" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ "futures-core", "futures-io", @@ -537,9 +529,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" dependencies = [ "cfg-if 1.0.0", "libc", @@ -597,17 +589,17 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "hermit-abi" -version = "0.3.3" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "bd5256b483761cd23699d0da46cc6fd2ee3be420bbe6d020ae4a091e70b7e9fd" [[package]] name = "home" -version = "0.5.5" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -633,9 +625,9 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http", @@ -656,9 +648,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hyper" -version = "0.14.27" +version = "0.14.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" +checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" dependencies = [ "bytes", "futures-channel", @@ -671,7 +663,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.10", + "socket2", "tokio", "tower-service", "tracing", @@ -709,9 +701,9 @@ checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" [[package]] name = "indexmap" -version = "2.2.1" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "433de089bd45971eecf4668ee0ee8f4cec17db4f8bd8f7bc3197a6ce37aa7d9b" +checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" dependencies = [ "equivalent", "hashbrown", @@ -754,32 +746,32 @@ checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "is-terminal" -version = "0.4.9" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ "hermit-abi", - "rustix", - "windows-sys 0.48.0", + "libc", + "windows-sys 0.52.0", ] [[package]] name = "is_ci" -version = "1.1.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "616cde7c720bb2bb5824a224687d8f77bfd38922027f01d825cd7453be5099fb" +checksum = "7655c9839580ee829dfacba1d1278c2b7883e50a277ff7541299489d6bdfdc45" [[package]] name = "itoa" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "js-sys" -version = "0.3.66" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" +checksum = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee" dependencies = [ "wasm-bindgen", ] @@ -796,9 +788,9 @@ dependencies = [ [[package]] name = "komorebi" -version = "0.1.19" +version = "0.1.20" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "clap", "color-eyre", "crossbeam-channel", @@ -836,7 +828,7 @@ dependencies = [ [[package]] name = "komorebi-core" -version = "0.1.19" +version = "0.1.20" dependencies = [ "clap", "color-eyre", @@ -852,7 +844,7 @@ dependencies = [ [[package]] name = "komorebic" -version = "0.1.19" +version = "0.1.20" dependencies = [ "clap", "color-eyre", @@ -879,7 +871,7 @@ dependencies = [ [[package]] name = "komorebic-no-console" -version = "0.1.19" +version = "0.1.20" [[package]] name = "lazy_static" @@ -895,9 +887,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.150" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libredox" @@ -905,16 +897,16 @@ version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "libc", - "redox_syscall 0.4.1", + "redox_syscall", ] [[package]] name = "linux-raw-sys" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "lock_api" @@ -943,9 +935,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.6.4" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "memoffset" @@ -996,9 +988,9 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "miniz_oxide" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ "adler", ] @@ -1024,9 +1016,9 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.9" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" +checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" dependencies = [ "libc", "wasi", @@ -1110,7 +1102,7 @@ version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "cfg-if 1.0.0", "libc", ] @@ -1152,6 +1144,12 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num_cpus" version = "1.16.0" @@ -1164,26 +1162,26 @@ dependencies = [ [[package]] name = "object" -version = "0.32.1" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ "memchr", ] [[package]] name = "once_cell" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "openssl" -version = "0.10.60" +version = "0.10.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79a4c6c3a2b158f7f8f2a2fc5a969fa3a068df6fc9dbb4a43845436e3af7c800" +checksum = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "cfg-if 1.0.0", "foreign-types", "libc", @@ -1211,9 +1209,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.96" +version = "0.9.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3812c071ba60da8b5677cc12bcb1d42989a65553772897a7e0355545a819838f" +checksum = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae" dependencies = [ "cc", "libc", @@ -1270,7 +1268,7 @@ dependencies = [ "cfg-if 1.0.0", "libc", "petgraph", - "redox_syscall 0.4.1", + "redox_syscall", "smallvec", "thread-id", "windows-targets 0.48.5", @@ -1312,9 +1310,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" -version = "0.3.27" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "powerfmt" @@ -1360,9 +1358,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.76" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" dependencies = [ "unicode-ident", ] @@ -1408,9 +1406,9 @@ dependencies = [ [[package]] name = "rayon" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" +checksum = "fa7237101a77a10773db45d62004a272517633fbcc3df19d96455ede1122e051" dependencies = [ "either", "rayon-core", @@ -1418,23 +1416,14 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" dependencies = [ "crossbeam-deque", "crossbeam-utils", ] -[[package]] -name = "redox_syscall" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" -dependencies = [ - "bitflags 1.3.2", -] - [[package]] name = "redox_syscall" version = "0.4.1" @@ -1547,11 +1536,11 @@ checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" [[package]] name = "rustix" -version = "0.38.26" +version = "0.38.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9470c4bf8246c8daf25f9598dca807fb6510347b1e1cfa55749113850c79d88a" +checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "errno", "libc", "linux-raw-sys", @@ -1575,9 +1564,9 @@ checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" [[package]] name = "ryu" -version = "1.0.15" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" +checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" [[package]] name = "same-file" @@ -1590,11 +1579,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -1683,9 +1672,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.108" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +checksum = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" dependencies = [ "itoa", "ryu", @@ -1737,9 +1726,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" [[package]] name = "smawk" @@ -1747,16 +1736,6 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c" -[[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" -dependencies = [ - "libc", - "winapi 0.3.9", -] - [[package]] name = "socket2" version = "0.5.5" @@ -1769,9 +1748,9 @@ dependencies = [ [[package]] name = "strsim" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" [[package]] name = "strum" @@ -1816,9 +1795,9 @@ dependencies = [ [[package]] name = "supports-unicode" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b6c2cb240ab5dd21ed4906895ee23fe5a48acdbd15a3ce388e7b62a9b66baf7" +checksum = "f850c19edd184a205e883199a261ed44471c81e39bd95b1357f5febbef00e77a" dependencies = [ "is-terminal", ] @@ -1889,15 +1868,14 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.8.1" +version = "3.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" +checksum = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67" dependencies = [ "cfg-if 1.0.0", "fastrand", - "redox_syscall 0.4.1", "rustix", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -1933,18 +1911,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.51" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f11c217e1416d6f036b870f14e0413d480dbf28edbee1f877abaf0206af43bb7" +checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.51" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01742297787513b79cf8e29d1056ede1313e2420b7b3b15d0a768b4921f549df" +checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" dependencies = [ "proc-macro2", "quote", @@ -1973,12 +1951,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.30" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" +checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" dependencies = [ "deranged", "itoa", + "num-conv", "powerfmt", "serde", "time-core", @@ -1993,10 +1972,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.15" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" +checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" dependencies = [ + "num-conv", "time-core", ] @@ -2017,17 +1997,17 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.34.0" +version = "1.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0c014766411e834f7af5b8f4cf46257aab4036ca95e9d2c144a10f59ad6f5b9" +checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" dependencies = [ "backtrace", "bytes", "libc", - "mio 0.8.9", + "mio 0.8.10", "num_cpus", "pin-project-lite", - "socket2 0.5.5", + "socket2", "windows-sys 0.48.0", ] @@ -2146,9 +2126,9 @@ dependencies = [ [[package]] name = "try-lock" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "uds_windows" @@ -2163,9 +2143,9 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.13" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" @@ -2262,9 +2242,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" +checksum = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f" dependencies = [ "cfg-if 1.0.0", "wasm-bindgen-macro", @@ -2272,9 +2252,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" +checksum = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b" dependencies = [ "bumpalo", "log", @@ -2287,9 +2267,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.39" +version = "0.4.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" +checksum = "877b9c3f61ceea0e56331985743b13f3d25c406a7098d45180fb5f09bc19ed97" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -2299,9 +2279,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" +checksum = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -2309,9 +2289,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" +checksum = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66" dependencies = [ "proc-macro2", "quote", @@ -2322,15 +2302,15 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.89" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" +checksum = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838" [[package]] name = "web-sys" -version = "0.3.66" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" +checksum = "96565907687f7aceb35bc5fc03770a8a0471d82e479f25832f54a0e3f4b28446" dependencies = [ "js-sys", "wasm-bindgen", diff --git a/docs/common-workflows/autohotkey.md b/docs/common-workflows/autohotkey.md index c0effc87..bf772064 100644 --- a/docs/common-workflows/autohotkey.md +++ b/docs/common-workflows/autohotkey.md @@ -19,12 +19,12 @@ hotkey bindings. ```powershell # save the latest generated komorebic library to ~/komorebic.lib.ahk -iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.19/komorebic.lib.ahk -OutFile $Env:USERPROFILE\komorebic.lib.ahk +iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.20/komorebic.lib.ahk -OutFile $Env:USERPROFILE\komorebic.lib.ahk # save the latest generated app-specific config tweaks and fixes to ~/komorebi.generated.ahk -iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.19/komorebi.generated.ahk -OutFile $Env:USERPROFILE\komorebi.generated.ahk +iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.20/komorebi.generated.ahk -OutFile $Env:USERPROFILE\komorebi.generated.ahk # save the sample komorebi configuration file to ~/komorebi.ahk -iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.19/komorebi.sample.ahk -OutFile $Env:USERPROFILE\komorebi.ahk +iwr https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.20/komorebi.sample.ahk -OutFile $Env:USERPROFILE\komorebi.ahk ``` diff --git a/docs/komorebi.example.json b/docs/komorebi.example.json index 1bbc5358..ff66e10f 100644 --- a/docs/komorebi.example.json +++ b/docs/komorebi.example.json @@ -1,9 +1,8 @@ { - "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/master/schema.json", + "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.20/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.yaml", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", - "alt_focus_hack": true, "default_workspace_padding": 20, "default_container_padding": 20, "active_window_border": false, diff --git a/docs/whkdrc.sample b/docs/whkdrc.sample index 810cf249..77c6eac7 100644 --- a/docs/whkdrc.sample +++ b/docs/whkdrc.sample @@ -2,7 +2,7 @@ # Reload whkd configuration # alt + o : taskkill /f /im whkd.exe && start /b whkd # if shell is cmd -alt + o : taskkill /f /im whkd.exe && Start-Process whkd -WindowStyle hidden # if shell is pwsh / powershell +alt + o : taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden # if shell is pwsh / powershell alt + shift + o : komorebic reload-configuration # App shortcuts - these require shell to be pwsh / powershell diff --git a/justfile b/justfile index c718a82c..4f6883f4 100644 --- a/justfile +++ b/justfile @@ -51,6 +51,10 @@ docgen: komorebic docgen Get-ChildItem -Path "docs/cli" -Recurse -File | ForEach-Object { (Get-Content $_.FullName) -replace 'Usage: ', 'Usage: komorebic.exe ' | Set-Content $_.FullName } +exampledocs: + cp whkdrc.sample docs/whkdrc.sample + cp komorebi.example.json docs/komorebi.example.json + schemagen: komorebic static-config-schema > schema.json generate-schema-doc .\schema.json --config template_name=js_offline --config minify=false .\static-config-docs\ diff --git a/komorebi-core/Cargo.toml b/komorebi-core/Cargo.toml index bda623f8..c9928569 100644 --- a/komorebi-core/Cargo.toml +++ b/komorebi-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "komorebi-core" -version = "0.1.19" +version = "0.1.20" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/komorebi.example.json b/komorebi.example.json index 1bbc5358..ff66e10f 100644 --- a/komorebi.example.json +++ b/komorebi.example.json @@ -1,9 +1,8 @@ { - "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/master/schema.json", + "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.20/schema.json", "app_specific_configuration_path": "$Env:USERPROFILE/applications.yaml", "window_hiding_behaviour": "Cloak", "cross_monitor_move_behaviour": "Insert", - "alt_focus_hack": true, "default_workspace_padding": 20, "default_container_padding": 20, "active_window_border": false, diff --git a/komorebi.generated.ahk b/komorebi.generated.ahk deleted file mode 100644 index aeb8fcbc..00000000 --- a/komorebi.generated.ahk +++ /dev/null @@ -1,594 +0,0 @@ -; Generated by komorebic.exe - -; 1Password -RunWait('komorebic.exe float-rule exe "1Password.exe"', , "Hide") - -; Ableton Live -; Targets VST2 windows -RunWait('komorebic.exe float-rule class "AbletonVstPlugClass"', , "Hide") -; Targets VST3 windows -RunWait('komorebic.exe float-rule class "Vst3PlugWindow"', , "Hide") - -; Adobe Creative Cloud -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application class "CreativeCloudDesktopWindowClass"', , "Hide") - -; Adobe Photoshop -RunWait('komorebic.exe identify-border-overflow-application class "Photoshop"', , "Hide") - -; Affinity Photo 2 -RunWait('komorebic.exe manage-rule title "Affinity Photo 2"', , "Hide") -RunWait('komorebic.exe float-rule exe "Photo.exe"', , "Hide") - -; Akiflow -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Akiflow.exe"', , "Hide") - -; Android Studio -RunWait('komorebic.exe identify-object-name-change-application exe "studio64.exe"', , "Hide") - -; Anki -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "anki.exe"', , "Hide") - -; ArmCord -RunWait('komorebic.exe identify-border-overflow-application exe "ArmCord.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "ArmCord.exe"', , "Hide") - -; AutoHotkey -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "AutoHotkeyU64.exe"', , "Hide") -RunWait('komorebic.exe float-rule title "Window Spy"', , "Hide") -RunWait('komorebic.exe float-rule exe "AutoHotkeyUX.exe"', , "Hide") - -; Beeper -RunWait('komorebic.exe identify-border-overflow-application exe "Beeper.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Beeper.exe"', , "Hide") - -; Bitwarden -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Bitwarden.exe"', , "Hide") - -; Bloxstrap -RunWait('komorebic.exe float-rule exe "Bloxstrap.exe"', , "Hide") - -; Calculator -RunWait('komorebic.exe float-rule title "Calculator"', , "Hide") - -; Clash Verge -RunWait('komorebic.exe identify-border-overflow-application exe "Clash Verge.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Clash Verge.exe"', , "Hide") - -; Clementine -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "clementine.exe"', , "Hide") - -; CopyQ -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "copyq.exe"', , "Hide") - -; Credential Manager UI Host -; Targets the Windows popup prompting you for a PIN instead of a password on 1Password etc. -RunWait('komorebic.exe float-rule exe "CredentialUIBroker.exe"', , "Hide") - -; Cron -RunWait('komorebic.exe identify-border-overflow-application exe "Cron.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Cron.exe"', , "Hide") - -; DS4Windows -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "DS4Windows.exe"', , "Hide") - -; Delphi applications -; Target hidden window spawned by Delphi applications -RunWait('komorebic.exe float-rule class "TApplication"', , "Hide") -; Target Inno Setup installers -RunWait('komorebic.exe float-rule class "TWizardForm"', , "Hide") - -; Discord -RunWait('komorebic.exe identify-border-overflow-application exe "Discord.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Discord.exe"', , "Hide") - -; DiscordCanary -RunWait('komorebic.exe identify-border-overflow-application exe "DiscordCanary.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "DiscordCanary.exe"', , "Hide") - -; DiscordDevelopment -RunWait('komorebic.exe identify-border-overflow-application exe "DiscordDevelopment.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "DiscordDevelopment.exe"', , "Hide") - -; DiscordPTB -RunWait('komorebic.exe identify-border-overflow-application exe "DiscordPTB.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "DiscordPTB.exe"', , "Hide") - -; Docker Desktop -RunWait('komorebic.exe identify-border-overflow-application exe "Docker Desktop.exe"', , "Hide") - -; Dropbox -RunWait('komorebic.exe float-rule exe "Dropbox.exe"', , "Hide") - -; ElectronMail -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "ElectronMail.exe"', , "Hide") - -; Element -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Element.exe"', , "Hide") - -; Elephicon -RunWait('komorebic.exe float-rule exe "Elephicon.exe"', , "Hide") - -; ElevenClock -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "ElevenClock.exe"', , "Hide") - -; Elgato Camera Hub -RunWait('komorebic.exe float-rule exe "Camera Hub.exe"', , "Hide") - -; Elgato Control Center -RunWait('komorebic.exe float-rule exe "ControlCenter.exe"', , "Hide") - -; Elgato Wave Link -RunWait('komorebic.exe float-rule exe "WaveLink.exe"', , "Hide") - -; Epic Games Launcher -RunWait('komorebic.exe identify-border-overflow-application exe "EpicGamesLauncher.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "EpicGamesLauncher.exe"', , "Hide") - -; Everything -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Everything.exe"', , "Hide") - -; Figma -RunWait('komorebic.exe identify-border-overflow-application exe "Figma.exe"', , "Hide") - -; Flow Launcher -RunWait('komorebic.exe identify-border-overflow-application exe "Flow.Launcher.exe"', , "Hide") - -; GOG Galaxy -RunWait('komorebic.exe identify-border-overflow-application exe "GalaxyClient.exe"', , "Hide") -RunWait('komorebic.exe manage-rule exe "GalaxyClient.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "GalaxyClient.exe"', , "Hide") -; Targets a hidden window spawned by GOG Galaxy -RunWait('komorebic.exe float-rule class "Chrome_RenderWidgetHostHWND"', , "Hide") - -; GoPro Webcam -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application class "GoPro Webcam"', , "Hide") - -; Godot Manager -RunWait('komorebic.exe identify-border-overflow-application exe "GodotManager.exe"', , "Hide") -RunWait('komorebic.exe manage-rule exe "GodotManager.exe"', , "Hide") -RunWait('komorebic.exe identify-object-name-change-application exe "GodotManager.exe"', , "Hide") - -; Golden Dict -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "GoldenDict.exe"', , "Hide") - -; Google Chrome -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "chrome.exe"', , "Hide") - -; Google Drive -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "GoogleDriveFS.exe"', , "Hide") -RunWait('komorebic.exe float-rule exe "GoogleDriveFS.exe"', , "Hide") - -; Houdoku -RunWait('komorebic.exe identify-border-overflow-application exe "Houdoku.exe"', , "Hide") - -; IntelliJ IDEA -RunWait('komorebic.exe identify-object-name-change-application exe "idea64.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "idea64.exe"', , "Hide") -; Targets JetBrains IDE popups and floating windows -RunWait('komorebic.exe float-rule class "SunAwtDialog"', , "Hide") - -; Itch.io -RunWait('komorebic.exe identify-border-overflow-application exe "itch.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "itch.exe"', , "Hide") - -; Keyviz -RunWait('komorebic.exe float-rule exe "keyviz.exe"', , "Hide") - -; Kleopatra -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "kleopatra.exe"', , "Hide") - -; Kotatogram -RunWait('komorebic.exe identify-border-overflow-application exe "Kotatogram.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Kotatogram.exe"', , "Hide") - -; LocalSend -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "localsend_app.exe"', , "Hide") - -; Logi Bolt -RunWait('komorebic.exe float-rule exe "LogiBolt.exe"', , "Hide") - -; LogiTune -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "LogiTune.exe"', , "Hide") -RunWait('komorebic.exe float-rule exe "LogiTune.exe"', , "Hide") - -; Logitech G HUB -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "lghub.exe"', , "Hide") -RunWait('komorebic.exe identify-border-overflow-application exe "lghub.exe"', , "Hide") - -; Logitech Options -RunWait('komorebic.exe float-rule exe "LogiOptionsUI.exe"', , "Hide") - -; Mailspring -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "mailspring.exe"', , "Hide") - -; ManyCam -RunWait('komorebic.exe identify-border-overflow-application exe "ManyCam.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "ManyCam.exe"', , "Hide") - -; Mica For Everyone - -; Microsoft Excel -RunWait('komorebic.exe identify-border-overflow-application exe "EXCEL.EXE"', , "Hide") -RunWait('komorebic.exe identify-layered-application exe "EXCEL.EXE"', , "Hide") -; Targets a hidden window spawned by Microsoft Office applications -RunWait('komorebic.exe float-rule class "_WwB"', , "Hide") - -; Microsoft Outlook -RunWait('komorebic.exe identify-border-overflow-application exe "OUTLOOK.EXE"', , "Hide") -RunWait('komorebic.exe identify-layered-application exe "OUTLOOK.EXE"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "OUTLOOK.EXE"', , "Hide") - -; Microsoft PC Manager -RunWait('komorebic.exe float-rule exe "MSPCManager.exe"', , "Hide") - -; Microsoft PowerPoint -RunWait('komorebic.exe identify-border-overflow-application exe "POWERPNT.EXE"', , "Hide") -RunWait('komorebic.exe identify-layered-application exe "POWERPNT.EXE"', , "Hide") - -; Microsoft Teams -RunWait('komorebic.exe identify-border-overflow-application exe "Teams.exe"', , "Hide") -; Target Teams pop-up notification windows -RunWait('komorebic.exe float-rule title "Microsoft Teams Notification"', , "Hide") -; Target Teams call in progress windows -RunWait('komorebic.exe float-rule title "Microsoft Teams Call"', , "Hide") - -; Microsoft Word -RunWait('komorebic.exe identify-border-overflow-application exe "WINWORD.EXE"', , "Hide") -RunWait('komorebic.exe identify-layered-application exe "WINWORD.EXE"', , "Hide") - -; Modern Flyouts -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "ModernFlyoutsHost.exe"', , "Hide") - -; Mozilla Firefox -RunWait('komorebic.exe identify-object-name-change-application exe "firefox.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "firefox.exe"', , "Hide") -; Targets invisible windows spawned by Firefox to show tab previews in the taskbar -RunWait('komorebic.exe float-rule class "MozillaTaskbarPreviewClass"', , "Hide") - -; NVIDIA GeForce Experience -RunWait('komorebic.exe identify-border-overflow-application exe "NVIDIA GeForce Experience.exe"', , "Hide") - -; NZXT CAM -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "NZXT CAM.exe"', , "Hide") - -; NetEase Cloud Music -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "cloudmusic.exe"', , "Hide") - -; NiceHash Miner -RunWait('komorebic.exe identify-border-overflow-application exe "nhm_app.exe"', , "Hide") -RunWait('komorebic.exe manage-rule exe "nhm_app.exe"', , "Hide") - -; NohBoard -RunWait('komorebic.exe float-rule exe "NohBoard.exe"', , "Hide") - -; Notion Enhanced -RunWait('komorebic.exe identify-border-overflow-application exe "Notion Enhanced.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Notion Enhanced.exe"', , "Hide") - -; OBS Studio (32-bit) -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "obs32.exe"', , "Hide") - -; OBS Studio (64-bit) -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "obs64.exe"', , "Hide") - -; ONLYOFFICE Editors -RunWait('komorebic.exe identify-border-overflow-application class "DocEditorsWindowClass"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application class "DocEditorsWindowClass"', , "Hide") - -; Obsidian -RunWait('komorebic.exe identify-border-overflow-application exe "Obsidian.exe"', , "Hide") -RunWait('komorebic.exe manage-rule exe "Obsidian.exe"', , "Hide") - -; OneDrive -RunWait('komorebic.exe float-rule class "OneDriveReactNativeWin32WindowClass"', , "Hide") - -; OneQuick -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "OneQuick.exe"', , "Hide") - -; OpenRGB -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "OpenRGB.exe"', , "Hide") - -; Paradox Launcher -RunWait('komorebic.exe float-rule exe "Paradox Launcher.exe"', , "Hide") - -; Playnite -RunWait('komorebic.exe identify-border-overflow-application exe "Playnite.DesktopApp.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Playnite.DesktopApp.exe"', , "Hide") -; Target fullscreen app -RunWait('komorebic.exe float-rule exe "Playnite.FullscreenApp.exe"', , "Hide") - -; Plexamp -RunWait('komorebic.exe identify-border-overflow-application exe "Plexamp.exe"', , "Hide") - -; PowerToys -; Target color picker dialog -RunWait('komorebic.exe float-rule exe "PowerToys.ColorPickerUI.exe"', , "Hide") -; Target image resizer dialog -RunWait('komorebic.exe float-rule exe "PowerToys.ImageResizer.exe"', , "Hide") -; Target Peek popup -RunWait('komorebic.exe float-rule exe "PowerToys.Peek.UI.exe"', , "Hide") - -; Process Hacker -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "ProcessHacker.exe"', , "Hide") -RunWait('komorebic.exe float-rule exe "ProcessHacker.exe"', , "Hide") - -; ProtonVPN -RunWait('komorebic.exe identify-border-overflow-application exe "ProtonVPN.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "ProtonVPN.exe"', , "Hide") - -; PyCharm -RunWait('komorebic.exe identify-object-name-change-application exe "pycharm64.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "pycharm64.exe"', , "Hide") - -; QQ -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "QQ.exe"', , "Hide") -RunWait('komorebic.exe float-rule title "图片查看器"', , "Hide") -RunWait('komorebic.exe float-rule title "群聊的聊天记录"', , "Hide") -RunWait('komorebic.exe float-rule title "语音通话"', , "Hide") - -; QtScrcpy -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "QtScrcpy.exe"', , "Hide") - -; QuickLook -RunWait('komorebic.exe float-rule exe "QuickLook.exe"', , "Hide") - -; RepoZ -RunWait('komorebic.exe float-rule exe "RepoZ.exe"', , "Hide") - -; Rider -RunWait('komorebic.exe identify-object-name-change-application exe "rider64.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "rider64.exe"', , "Hide") - -; Roblox FPS Unlocker -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "rbxfpsunlocker.exe"', , "Hide") - -; RoundedTB -RunWait('komorebic.exe float-rule exe "RoundedTB.exe"', , "Hide") - -; RoundedTB -RunWait('komorebic.exe identify-border-overflow-application exe "RoundedTB.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "RoundedTB.exe"', , "Hide") - -; RustRover -RunWait('komorebic.exe identify-object-name-change-application exe "rustrover64.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "rustrover64.exe"', , "Hide") - -; Sandboxie Plus -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "SandMan.exe"', , "Hide") - -; ShareX -RunWait('komorebic.exe identify-border-overflow-application exe "ShareX.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "ShareX.exe"', , "Hide") - -; Sideloadly -RunWait('komorebic.exe float-rule exe "sideloadly.exe"', , "Hide") - -; Signal -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Signal.exe"', , "Hide") - -; SiriKali -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "sirikali.exe"', , "Hide") - -; Slack -RunWait('komorebic.exe identify-border-overflow-application exe "Slack.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Slack.exe"', , "Hide") - -; Slack -RunWait('komorebic.exe identify-border-overflow-application exe "slack.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "slack.exe"', , "Hide") - -; Smart Install Maker -; Target hidden window spawned by installer -RunWait('komorebic.exe float-rule class "obj_App"', , "Hide") -; Target installer -RunWait('komorebic.exe float-rule class "obj_Form"', , "Hide") - -; SoulseekQt -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "SoulseekQt.exe"', , "Hide") - -; Spotify -RunWait('komorebic.exe identify-border-overflow-application exe "Spotify.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Spotify.exe"', , "Hide") - -; Steam -RunWait('komorebic.exe identify-border-overflow-application class "vguiPopupWindow"', , "Hide") - -; Steam Beta -RunWait('komorebic.exe identify-border-overflow-application class "SDL_app"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application class "SDL_app"', , "Hide") -; Target notification toast popups -RunWait('komorebic.exe float-rule title "notificationtoasts_"', , "Hide") - -; Stremio -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "stremio.exe"', , "Hide") - -; System Informer -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "SystemInformer.exe"', , "Hide") -RunWait('komorebic.exe float-rule exe "SystemInformer.exe"', , "Hide") - -; SystemSettings -RunWait('komorebic.exe float-rule class "Shell_Dialog"', , "Hide") - -; Task Manager -RunWait('komorebic.exe float-rule class "TaskManagerWindow"', , "Hide") - -; Telegram -RunWait('komorebic.exe identify-border-overflow-application exe "Telegram.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Telegram.exe"', , "Hide") - -; TickTick -RunWait('komorebic.exe identify-border-overflow-application exe "TickTick.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "TickTick.exe"', , "Hide") - -; TouchCursor -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "tcconfig.exe"', , "Hide") -RunWait('komorebic.exe float-rule exe "tcconfig.exe"', , "Hide") - -; TranslucentTB -RunWait('komorebic.exe float-rule exe "TranslucentTB.exe"', , "Hide") - -; TranslucentTB -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "TranslucentTB.exe"', , "Hide") - -; Unity Hub -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "Unity Hub.exe"', , "Hide") - -; Unreal Editor -RunWait('komorebic.exe identify-border-overflow-application exe "UnrealEditor.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "UnrealEditor.exe"', , "Hide") - -; VRCX -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "VRCX.exe"', , "Hide") - -; Visual Studio -RunWait('komorebic.exe identify-object-name-change-application exe "devenv.exe"', , "Hide") - -; Visual Studio Code -RunWait('komorebic.exe identify-border-overflow-application exe "Code.exe"', , "Hide") - -; Visual Studio Code - Insiders -RunWait('komorebic.exe identify-border-overflow-application exe "Code - Insiders.exe"', , "Hide") - -; Voice.ai -RunWait('komorebic.exe identify-border-overflow-application exe "VoiceAI.exe"', , "Hide") -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "VoiceAI.exe"', , "Hide") - -; WebTorrent Desktop -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "WebTorrent.exe"', , "Hide") - -; WinZip (32-bit) -RunWait('komorebic.exe float-rule exe "winzip32.exe"', , "Hide") - -; WinZip (64-bit) -RunWait('komorebic.exe float-rule exe "winzip64.exe"', , "Hide") - -; Windows Console (conhost.exe) -RunWait('komorebic.exe manage-rule class "ConsoleWindowClass"', , "Hide") - -; Windows Explorer -; Targets copy/move operation windows -RunWait('komorebic.exe float-rule class "OperationStatusWindow"', , "Hide") -RunWait('komorebic.exe float-rule title "Control Panel"', , "Hide") - -; Windows Installer -RunWait('komorebic.exe float-rule exe "msiexec.exe"', , "Hide") - -; Windows Subsystem for Android -; Targets splash/startup screen -RunWait('komorebic.exe float-rule class "android(splash)"', , "Hide") - -; WingetUI -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "WingetUI.exe"', , "Hide") - -; WingetUI -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "wingetui.exe"', , "Hide") - -; Wox -; Targets a hidden window spawned by Wox -RunWait('komorebic.exe float-rule title "Hotkey sink"', , "Hide") - -; XAMPP Control Panel -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "xampp-control.exe"', , "Hide") - -; Zoom -RunWait('komorebic.exe float-rule exe "Zoom.exe"', , "Hide") - -; mpv -RunWait('komorebic.exe identify-object-name-change-application class "mpv"', , "Hide") - -; mpv.net -RunWait('komorebic.exe identify-object-name-change-application exe "mpvnet.exe"', , "Hide") - -; paint.net -RunWait('komorebic.exe float-rule exe "paintdotnet.exe"', , "Hide") - -; pinentry -RunWait('komorebic.exe float-rule exe "pinentry.exe"', , "Hide") - -; qBittorrent -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "qbittorrent.exe"', , "Hide") - -; ueli -; If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -RunWait('komorebic.exe identify-tray-application exe "ueli.exe"', , "Hide") -RunWait('komorebic.exe float-rule exe "ueli.exe"', , "Hide") diff --git a/komorebi.generated.ps1 b/komorebi.generated.ps1 deleted file mode 100644 index 8787a5c4..00000000 --- a/komorebi.generated.ps1 +++ /dev/null @@ -1,594 +0,0 @@ -# Generated by komorebic.exe - -# 1Password -komorebic.exe float-rule exe "1Password.exe" - -# Ableton Live -# Targets VST2 windows -komorebic.exe float-rule class "AbletonVstPlugClass" -# Targets VST3 windows -komorebic.exe float-rule class "Vst3PlugWindow" - -# Adobe Creative Cloud -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application class "CreativeCloudDesktopWindowClass" - -# Adobe Photoshop -komorebic.exe identify-border-overflow-application class "Photoshop" - -# Affinity Photo 2 -komorebic.exe manage-rule title "Affinity Photo 2" -komorebic.exe float-rule exe "Photo.exe" - -# Akiflow -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Akiflow.exe" - -# Android Studio -komorebic.exe identify-object-name-change-application exe "studio64.exe" - -# Anki -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "anki.exe" - -# ArmCord -komorebic.exe identify-border-overflow-application exe "ArmCord.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "ArmCord.exe" - -# AutoHotkey -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "AutoHotkeyU64.exe" -komorebic.exe float-rule title "Window Spy" -komorebic.exe float-rule exe "AutoHotkeyUX.exe" - -# Beeper -komorebic.exe identify-border-overflow-application exe "Beeper.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Beeper.exe" - -# Bitwarden -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Bitwarden.exe" - -# Bloxstrap -komorebic.exe float-rule exe "Bloxstrap.exe" - -# Calculator -komorebic.exe float-rule title "Calculator" - -# Clash Verge -komorebic.exe identify-border-overflow-application exe "Clash Verge.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Clash Verge.exe" - -# Clementine -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "clementine.exe" - -# CopyQ -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "copyq.exe" - -# Credential Manager UI Host -# Targets the Windows popup prompting you for a PIN instead of a password on 1Password etc. -komorebic.exe float-rule exe "CredentialUIBroker.exe" - -# Cron -komorebic.exe identify-border-overflow-application exe "Cron.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Cron.exe" - -# DS4Windows -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "DS4Windows.exe" - -# Delphi applications -# Target hidden window spawned by Delphi applications -komorebic.exe float-rule class "TApplication" -# Target Inno Setup installers -komorebic.exe float-rule class "TWizardForm" - -# Discord -komorebic.exe identify-border-overflow-application exe "Discord.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Discord.exe" - -# DiscordCanary -komorebic.exe identify-border-overflow-application exe "DiscordCanary.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "DiscordCanary.exe" - -# DiscordDevelopment -komorebic.exe identify-border-overflow-application exe "DiscordDevelopment.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "DiscordDevelopment.exe" - -# DiscordPTB -komorebic.exe identify-border-overflow-application exe "DiscordPTB.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "DiscordPTB.exe" - -# Docker Desktop -komorebic.exe identify-border-overflow-application exe "Docker Desktop.exe" - -# Dropbox -komorebic.exe float-rule exe "Dropbox.exe" - -# ElectronMail -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "ElectronMail.exe" - -# Element -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Element.exe" - -# Elephicon -komorebic.exe float-rule exe "Elephicon.exe" - -# ElevenClock -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "ElevenClock.exe" - -# Elgato Camera Hub -komorebic.exe float-rule exe "Camera Hub.exe" - -# Elgato Control Center -komorebic.exe float-rule exe "ControlCenter.exe" - -# Elgato Wave Link -komorebic.exe float-rule exe "WaveLink.exe" - -# Epic Games Launcher -komorebic.exe identify-border-overflow-application exe "EpicGamesLauncher.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "EpicGamesLauncher.exe" - -# Everything -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Everything.exe" - -# Figma -komorebic.exe identify-border-overflow-application exe "Figma.exe" - -# Flow Launcher -komorebic.exe identify-border-overflow-application exe "Flow.Launcher.exe" - -# GOG Galaxy -komorebic.exe identify-border-overflow-application exe "GalaxyClient.exe" -komorebic.exe manage-rule exe "GalaxyClient.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "GalaxyClient.exe" -# Targets a hidden window spawned by GOG Galaxy -komorebic.exe float-rule class "Chrome_RenderWidgetHostHWND" - -# GoPro Webcam -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application class "GoPro Webcam" - -# Godot Manager -komorebic.exe identify-border-overflow-application exe "GodotManager.exe" -komorebic.exe manage-rule exe "GodotManager.exe" -komorebic.exe identify-object-name-change-application exe "GodotManager.exe" - -# Golden Dict -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "GoldenDict.exe" - -# Google Chrome -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "chrome.exe" - -# Google Drive -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "GoogleDriveFS.exe" -komorebic.exe float-rule exe "GoogleDriveFS.exe" - -# Houdoku -komorebic.exe identify-border-overflow-application exe "Houdoku.exe" - -# IntelliJ IDEA -komorebic.exe identify-object-name-change-application exe "idea64.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "idea64.exe" -# Targets JetBrains IDE popups and floating windows -komorebic.exe float-rule class "SunAwtDialog" - -# Itch.io -komorebic.exe identify-border-overflow-application exe "itch.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "itch.exe" - -# Keyviz -komorebic.exe float-rule exe "keyviz.exe" - -# Kleopatra -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "kleopatra.exe" - -# Kotatogram -komorebic.exe identify-border-overflow-application exe "Kotatogram.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Kotatogram.exe" - -# LocalSend -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "localsend_app.exe" - -# Logi Bolt -komorebic.exe float-rule exe "LogiBolt.exe" - -# LogiTune -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "LogiTune.exe" -komorebic.exe float-rule exe "LogiTune.exe" - -# Logitech G HUB -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "lghub.exe" -komorebic.exe identify-border-overflow-application exe "lghub.exe" - -# Logitech Options -komorebic.exe float-rule exe "LogiOptionsUI.exe" - -# Mailspring -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "mailspring.exe" - -# ManyCam -komorebic.exe identify-border-overflow-application exe "ManyCam.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "ManyCam.exe" - -# Mica For Everyone - -# Microsoft Excel -komorebic.exe identify-border-overflow-application exe "EXCEL.EXE" -komorebic.exe identify-layered-application exe "EXCEL.EXE" -# Targets a hidden window spawned by Microsoft Office applications -komorebic.exe float-rule class "_WwB" - -# Microsoft Outlook -komorebic.exe identify-border-overflow-application exe "OUTLOOK.EXE" -komorebic.exe identify-layered-application exe "OUTLOOK.EXE" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "OUTLOOK.EXE" - -# Microsoft PC Manager -komorebic.exe float-rule exe "MSPCManager.exe" - -# Microsoft PowerPoint -komorebic.exe identify-border-overflow-application exe "POWERPNT.EXE" -komorebic.exe identify-layered-application exe "POWERPNT.EXE" - -# Microsoft Teams -komorebic.exe identify-border-overflow-application exe "Teams.exe" -# Target Teams pop-up notification windows -komorebic.exe float-rule title "Microsoft Teams Notification" -# Target Teams call in progress windows -komorebic.exe float-rule title "Microsoft Teams Call" - -# Microsoft Word -komorebic.exe identify-border-overflow-application exe "WINWORD.EXE" -komorebic.exe identify-layered-application exe "WINWORD.EXE" - -# Modern Flyouts -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "ModernFlyoutsHost.exe" - -# Mozilla Firefox -komorebic.exe identify-object-name-change-application exe "firefox.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "firefox.exe" -# Targets invisible windows spawned by Firefox to show tab previews in the taskbar -komorebic.exe float-rule class "MozillaTaskbarPreviewClass" - -# NVIDIA GeForce Experience -komorebic.exe identify-border-overflow-application exe "NVIDIA GeForce Experience.exe" - -# NZXT CAM -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "NZXT CAM.exe" - -# NetEase Cloud Music -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "cloudmusic.exe" - -# NiceHash Miner -komorebic.exe identify-border-overflow-application exe "nhm_app.exe" -komorebic.exe manage-rule exe "nhm_app.exe" - -# NohBoard -komorebic.exe float-rule exe "NohBoard.exe" - -# Notion Enhanced -komorebic.exe identify-border-overflow-application exe "Notion Enhanced.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Notion Enhanced.exe" - -# OBS Studio (32-bit) -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "obs32.exe" - -# OBS Studio (64-bit) -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "obs64.exe" - -# ONLYOFFICE Editors -komorebic.exe identify-border-overflow-application class "DocEditorsWindowClass" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application class "DocEditorsWindowClass" - -# Obsidian -komorebic.exe identify-border-overflow-application exe "Obsidian.exe" -komorebic.exe manage-rule exe "Obsidian.exe" - -# OneDrive -komorebic.exe float-rule class "OneDriveReactNativeWin32WindowClass" - -# OneQuick -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "OneQuick.exe" - -# OpenRGB -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "OpenRGB.exe" - -# Paradox Launcher -komorebic.exe float-rule exe "Paradox Launcher.exe" - -# Playnite -komorebic.exe identify-border-overflow-application exe "Playnite.DesktopApp.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Playnite.DesktopApp.exe" -# Target fullscreen app -komorebic.exe float-rule exe "Playnite.FullscreenApp.exe" - -# Plexamp -komorebic.exe identify-border-overflow-application exe "Plexamp.exe" - -# PowerToys -# Target color picker dialog -komorebic.exe float-rule exe "PowerToys.ColorPickerUI.exe" -# Target image resizer dialog -komorebic.exe float-rule exe "PowerToys.ImageResizer.exe" -# Target Peek popup -komorebic.exe float-rule exe "PowerToys.Peek.UI.exe" - -# Process Hacker -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "ProcessHacker.exe" -komorebic.exe float-rule exe "ProcessHacker.exe" - -# ProtonVPN -komorebic.exe identify-border-overflow-application exe "ProtonVPN.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "ProtonVPN.exe" - -# PyCharm -komorebic.exe identify-object-name-change-application exe "pycharm64.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "pycharm64.exe" - -# QQ -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "QQ.exe" -komorebic.exe float-rule title "图片查看器" -komorebic.exe float-rule title "群聊的聊天记录" -komorebic.exe float-rule title "语音通话" - -# QtScrcpy -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "QtScrcpy.exe" - -# QuickLook -komorebic.exe float-rule exe "QuickLook.exe" - -# RepoZ -komorebic.exe float-rule exe "RepoZ.exe" - -# Rider -komorebic.exe identify-object-name-change-application exe "rider64.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "rider64.exe" - -# Roblox FPS Unlocker -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "rbxfpsunlocker.exe" - -# RoundedTB -komorebic.exe float-rule exe "RoundedTB.exe" - -# RoundedTB -komorebic.exe identify-border-overflow-application exe "RoundedTB.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "RoundedTB.exe" - -# RustRover -komorebic.exe identify-object-name-change-application exe "rustrover64.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "rustrover64.exe" - -# Sandboxie Plus -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "SandMan.exe" - -# ShareX -komorebic.exe identify-border-overflow-application exe "ShareX.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "ShareX.exe" - -# Sideloadly -komorebic.exe float-rule exe "sideloadly.exe" - -# Signal -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Signal.exe" - -# SiriKali -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "sirikali.exe" - -# Slack -komorebic.exe identify-border-overflow-application exe "Slack.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Slack.exe" - -# Slack -komorebic.exe identify-border-overflow-application exe "slack.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "slack.exe" - -# Smart Install Maker -# Target hidden window spawned by installer -komorebic.exe float-rule class "obj_App" -# Target installer -komorebic.exe float-rule class "obj_Form" - -# SoulseekQt -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "SoulseekQt.exe" - -# Spotify -komorebic.exe identify-border-overflow-application exe "Spotify.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Spotify.exe" - -# Steam -komorebic.exe identify-border-overflow-application class "vguiPopupWindow" - -# Steam Beta -komorebic.exe identify-border-overflow-application class "SDL_app" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application class "SDL_app" -# Target notification toast popups -komorebic.exe float-rule title "notificationtoasts_" - -# Stremio -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "stremio.exe" - -# System Informer -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "SystemInformer.exe" -komorebic.exe float-rule exe "SystemInformer.exe" - -# SystemSettings -komorebic.exe float-rule class "Shell_Dialog" - -# Task Manager -komorebic.exe float-rule class "TaskManagerWindow" - -# Telegram -komorebic.exe identify-border-overflow-application exe "Telegram.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Telegram.exe" - -# TickTick -komorebic.exe identify-border-overflow-application exe "TickTick.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "TickTick.exe" - -# TouchCursor -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "tcconfig.exe" -komorebic.exe float-rule exe "tcconfig.exe" - -# TranslucentTB -komorebic.exe float-rule exe "TranslucentTB.exe" - -# TranslucentTB -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "TranslucentTB.exe" - -# Unity Hub -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "Unity Hub.exe" - -# Unreal Editor -komorebic.exe identify-border-overflow-application exe "UnrealEditor.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "UnrealEditor.exe" - -# VRCX -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "VRCX.exe" - -# Visual Studio -komorebic.exe identify-object-name-change-application exe "devenv.exe" - -# Visual Studio Code -komorebic.exe identify-border-overflow-application exe "Code.exe" - -# Visual Studio Code - Insiders -komorebic.exe identify-border-overflow-application exe "Code - Insiders.exe" - -# Voice.ai -komorebic.exe identify-border-overflow-application exe "VoiceAI.exe" -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "VoiceAI.exe" - -# WebTorrent Desktop -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "WebTorrent.exe" - -# WinZip (32-bit) -komorebic.exe float-rule exe "winzip32.exe" - -# WinZip (64-bit) -komorebic.exe float-rule exe "winzip64.exe" - -# Windows Console (conhost.exe) -komorebic.exe manage-rule class "ConsoleWindowClass" - -# Windows Explorer -# Targets copy/move operation windows -komorebic.exe float-rule class "OperationStatusWindow" -komorebic.exe float-rule title "Control Panel" - -# Windows Installer -komorebic.exe float-rule exe "msiexec.exe" - -# Windows Subsystem for Android -# Targets splash/startup screen -komorebic.exe float-rule class "android(splash)" - -# WingetUI -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "WingetUI.exe" - -# WingetUI -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "wingetui.exe" - -# Wox -# Targets a hidden window spawned by Wox -komorebic.exe float-rule title "Hotkey sink" - -# XAMPP Control Panel -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "xampp-control.exe" - -# Zoom -komorebic.exe float-rule exe "Zoom.exe" - -# mpv -komorebic.exe identify-object-name-change-application class "mpv" - -# mpv.net -komorebic.exe identify-object-name-change-application exe "mpvnet.exe" - -# paint.net -komorebic.exe float-rule exe "paintdotnet.exe" - -# pinentry -komorebic.exe float-rule exe "pinentry.exe" - -# qBittorrent -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "qbittorrent.exe" - -# ueli -# If you have disabled minimize/close to tray for this application, you can delete/comment out the next line -komorebic.exe identify-tray-application exe "ueli.exe" -komorebic.exe float-rule exe "ueli.exe" diff --git a/komorebi.sample.ahk b/komorebi.sample.ahk index ef4e9506..4f663079 100644 --- a/komorebi.sample.ahk +++ b/komorebi.sample.ahk @@ -2,43 +2,6 @@ ; Load library #Include komorebic.lib.ahk -; Load configuration -#Include komorebi.generated.ahk - -; Send the ALT key whenever changing focus to force focus changes -AltFocusHack("enable") -; Default to cloaking windows when switching workspaces -WindowHidingBehaviour("cloak") -; Set cross-monitor move behaviour to insert instead of swap -CrossMonitorMoveBehaviour("Insert") -; Enable hot reloading of changes to this file -WatchConfiguration("enable") - -; Create named workspaces I-V on monitor 0 -EnsureNamedWorkspaces(0, "I II III IV V") -; You can do the same thing for secondary monitors too -; EnsureNamedWorkspaces(1, "A B C D E F") - -; Assign layouts to workspaces, possible values: bsp, columns, rows, vertical-stack, horizontal-stack, ultrawide-vertical-stack -NamedWorkspaceLayout("I", "bsp") - -; Set the gaps around the edge of the screen for a workspace -NamedWorkspacePadding("I", 20) -; Set the gaps between the containers for a workspace -NamedWorkspaceContainerPadding("I", 20) - -; You can assign specific apps to named workspaces -; NamedWorkspaceRule("exe", "Firefox.exe", "III") - -; Configure the invisible border dimensions -InvisibleBorders(7, 0, 14, 7) - -; Uncomment the next lines if you want a visual border around the active window -; ActiveWindowBorderColour(66, 165, 245, "single") -; ActiveWindowBorderColour(256, 165, 66, "stack") -; ActiveWindowBorderColour(255, 51, 153, "monocle") - -CompleteConfiguration() ; Focus windows !h::Focus("left") diff --git a/komorebi.sample.ps1 b/komorebi.sample.ps1 deleted file mode 100644 index 7e8388bb..00000000 --- a/komorebi.sample.ps1 +++ /dev/null @@ -1,42 +0,0 @@ -if (!(Get-Process whkd -ErrorAction SilentlyContinue)) -{ - Start-Process whkd -WindowStyle hidden -} - -. $PSScriptRoot\komorebi.generated.ps1 - -# Send the ALT key whenever changing focus to force focus changes -komorebic alt-focus-hack enable -# Default to cloaking windows when switching workspaces -komorebic window-hiding-behaviour cloak -# Set cross-monitor move behaviour to insert instead of swap -komorebic cross-monitor-move-behaviour insert -# Enable hot reloading of changes to this file -komorebic watch-configuration enable - -# Create named workspaces I-V on monitor 0 -komorebic ensure-named-workspaces 0 I II III IV V -# You can do the same thing for secondary monitors too -# komorebic ensure-named-workspaces 1 A B C D E F - -# Assign layouts to workspaces, possible values: bsp, columns, rows, vertical-stack, horizontal-stack, ultrawide-vertical-stack -komorebic named-workspace-layout I bsp - -# Set the gaps around the edge of the screen for a workspace -komorebic named-workspace-padding I 20 -# Set the gaps between the containers for a workspace -komorebic named-workspace-container-padding I 20 - -# You can assign specific apps to named workspaces -# komorebic named-workspace-rule exe "Firefox.exe" III - -# Configure the invisible border dimensions -komorebic invisible-borders 7 0 14 7 - -# Uncomment the next lines if you want a visual border around the active window -# komorebic active-window-border-colour 66 165 245 --window-kind single -# komorebic active-window-border-colour 256 165 66 --window-kind stack -# komorebic active-window-border-colour 255 51 153 --window-kind monocle -# komorebic active-window-border enable - -komorebic complete-configuration \ No newline at end of file diff --git a/komorebi/Cargo.toml b/komorebi/Cargo.toml index d52b3c13..37ef7fe5 100644 --- a/komorebi/Cargo.toml +++ b/komorebi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "komorebi" -version = "0.1.19" +version = "0.1.20" authors = ["Jade Iqbal "] description = "A tiling window manager for Windows" categories = ["tiling-window-manager", "windows"] diff --git a/komorebi/src/static_config.rs b/komorebi/src/static_config.rs index 69c7b05d..a1fbf77a 100644 --- a/komorebi/src/static_config.rs +++ b/komorebi/src/static_config.rs @@ -6,7 +6,6 @@ use crate::window_manager::WindowManager; use crate::window_manager_event::WindowManagerEvent; use crate::windows_api::WindowsApi; use crate::workspace::Workspace; -use crate::ALT_FOCUS_HACK; use crate::BORDER_COLOUR_CURRENT; use crate::BORDER_COLOUR_MONOCLE; use crate::BORDER_COLOUR_SINGLE; @@ -257,14 +256,6 @@ pub struct StaticConfig { /// Path to applications.yaml from komorebi-application-specific-configurations (default: None) #[serde(skip_serializing_if = "Option::is_none")] pub app_specific_configuration_path: Option, - /// DEPRECATED from v0.1.19: use active_window_border_width instead - #[schemars(skip)] - #[serde(skip_serializing)] - pub border_width: Option, - /// DEPRECATED from v0.1.19: use active_window_border_offset instead - #[schemars(skip)] - #[serde(skip_serializing)] - pub border_offset: Option, /// Width of the active window border (default: 20) #[serde(skip_serializing_if = "Option::is_none")] pub active_window_border_width: Option, @@ -419,8 +410,6 @@ impl From<&WindowManager> for StaticConfig { active_window_border_offset: BORDER_OFFSET .lock() .map_or(None, |offset| Option::from(offset.left)), - border_width: None, - border_offset: None, active_window_border: Option::from(BORDER_ENABLED.load(Ordering::SeqCst)), active_window_border_colours: border_colours, default_workspace_padding: Option::from( @@ -430,7 +419,7 @@ impl From<&WindowManager> for StaticConfig { DEFAULT_CONTAINER_PADDING.load(Ordering::SeqCst), ), monitors: Option::from(monitors), - alt_focus_hack: Option::from(ALT_FOCUS_HACK.load(Ordering::SeqCst)), + alt_focus_hack: None, window_hiding_behaviour: Option::from(*HIDING_BEHAVIOUR.lock()), global_work_area_offset: value.work_area_offset, float_rules: None, @@ -463,10 +452,6 @@ impl StaticConfig { *window_hiding_behaviour = behaviour; } - if let Some(hack) = self.alt_focus_hack { - ALT_FOCUS_HACK.store(hack, Ordering::SeqCst); - } - if let Some(container) = self.default_container_padding { DEFAULT_CONTAINER_PADDING.store(container, Ordering::SeqCst); } diff --git a/komorebic-no-console/Cargo.toml b/komorebic-no-console/Cargo.toml index 1316d974..40ddd0d0 100644 --- a/komorebic-no-console/Cargo.toml +++ b/komorebic-no-console/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "komorebic-no-console" -version = "0.1.19" +version = "0.1.20" authors = ["Jade Iqbal "] description = "The command-line interface (without a console) for Komorebi, a tiling window manager for Windows" categories = ["cli", "tiling-window-manager", "windows"] diff --git a/komorebic/Cargo.toml b/komorebic/Cargo.toml index d27e2225..bd8507f3 100644 --- a/komorebic/Cargo.toml +++ b/komorebic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "komorebic" -version = "0.1.19" +version = "0.1.20" authors = ["Jade Iqbal "] description = "The command-line interface for Komorebi, a tiling window manager for Windows" categories = ["cli", "tiling-window-manager", "windows"] diff --git a/komorebic/src/main.rs b/komorebic/src/main.rs index da396161..76ada7c7 100644 --- a/komorebic/src/main.rs +++ b/komorebic/src/main.rs @@ -1267,9 +1267,7 @@ fn main() -> Result<()> { std::fs::write(config_dir.join("whkdrc"), whkdrc)?; println!("Example ~/komorebi.json, ~/.config/whkdrc and latest ~/applications.yaml files downloaded"); - println!( - "You can now run komorebic start -c \"$Env:USERPROFILE\\komorebi.json\" --whkd" - ); + println!("You can now run komorebic start --whkd"); } SubCommand::EnableAutostart(args) => { let mut current_exe = std::env::current_exe().expect("unable to get exec path"); diff --git a/mkdocs.yml b/mkdocs.yml index 43562460..643b12a0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -61,7 +61,7 @@ nav: - common-workflows/mouse-follows-focus.md - common-workflows/custom-layouts.md - common-workflows/dynamic-layout-switching.md - - common-workflows/autohotkey.md +# - common-workflows/autohotkey.md - Configuration reference: https://komorebi.lgug2z.com/schema - CLI reference: - cli/quickstart.md