From e7f17225fd26043ba3ca8c0b74648f21537c415a Mon Sep 17 00:00:00 2001 From: Cyril Levis Date: Mon, 26 Aug 2024 15:34:07 +0200 Subject: [PATCH] chore: bump lib --- Cargo.lock | 354 +++++++++++++++++++-------------------------- Cargo.toml | 2 +- src/renamer/mod.rs | 146 +++++++++---------- 3 files changed, 226 insertions(+), 276 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 274be00..41160f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "addr2line" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" dependencies = [ "gimli", ] @@ -41,9 +41,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.14" +version = "0.6.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" +checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" dependencies = [ "anstyle", "anstyle-parse", @@ -56,36 +56,36 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" +checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" [[package]] name = "anstyle-parse" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.3" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a64c907d4e79225ac72e2a354c9ce84d50ebb4586dee56c82b3ee73004f537f5" +checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a" dependencies = [ - "windows-sys 0.52.0", + "windows-sys", ] [[package]] name = "anstyle-wincon" -version = "3.0.3" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" +checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" dependencies = [ "anstyle", - "windows-sys 0.52.0", + "windows-sys", ] [[package]] @@ -96,9 +96,9 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" -version = "0.3.71" +version = "0.3.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" +checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" dependencies = [ "addr2line", "cc", @@ -117,15 +117,18 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bytes" -version = "1.6.0" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" +checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" [[package]] name = "cc" -version = "1.0.97" +version = "1.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4" +checksum = "50d2eb3cd3d1bf4529e31c215ee6f93ec5a3d536d9f578f93d9d33ee19562932" +dependencies = [ + "shlex", +] [[package]] name = "cfg-if" @@ -135,9 +138,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "4.5.4" +version = "4.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" +checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" dependencies = [ "clap_builder", "clap_derive", @@ -145,9 +148,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.2" +version = "4.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6" dependencies = [ "anstream", "anstyle", @@ -157,37 +160,37 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.4" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" +checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.63", + "syn", ] [[package]] name = "clap_lex" -version = "0.7.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" +checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" [[package]] name = "colorchoice" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" +checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" [[package]] name = "derive_more" -version = "0.99.17" +version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn", ] [[package]] @@ -204,9 +207,9 @@ checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" [[package]] name = "gimli" -version = "0.28.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" [[package]] name = "hashbrown" @@ -220,11 +223,16 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +[[package]] +name = "hermit-abi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" + [[package]] name = "hyprland" version = "0.4.0-alpha.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d627cd06fb3389f2554b7a4bb21db8c0bfca8863e6e653702cc4c6dbf20d8276" +source = "git+https://github.com/hyprland-community/hyprland-rs?branch=master#116305ab39c69b72e9f19162c4264dbec86be5dd" dependencies = [ "ahash", "derive_more", @@ -259,19 +267,18 @@ dependencies = [ [[package]] name = "hyprland-macros" -version = "0.4.0-alpha.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dd8ce4c182ce77e485918f49262425ee51a2746fe97f14084869aeff2fbc38e" +version = "0.4.0-alpha.2" +source = "git+https://github.com/hyprland-community/hyprland-rs?branch=master#116305ab39c69b72e9f19162c4264dbec86be5dd" dependencies = [ "quote", - "syn 2.0.63", + "syn", ] [[package]] name = "indexmap" -version = "2.2.6" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c" dependencies = [ "equivalent", "hashbrown", @@ -301,9 +308,9 @@ dependencies = [ [[package]] name = "is_terminal_polyfill" -version = "1.70.0" +version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "itoa" @@ -313,15 +320,15 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "libc" -version = "0.2.154" +version = "0.2.158" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" +checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" [[package]] name = "memchr" -version = "2.7.2" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "memoffset" @@ -334,22 +341,23 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" dependencies = [ "adler", ] [[package]] name = "mio" -version = "0.8.11" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" dependencies = [ + "hermit-abi", "libc", "wasi", - "windows-sys 0.48.0", + "windows-sys", ] [[package]] @@ -376,9 +384,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.2" +version = "0.36.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "27b64972346851a39438c60b341ebc01bba47464ae329e55cf343eb93964efd9" dependencies = [ "memchr", ] @@ -403,27 +411,27 @@ checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] name = "proc-macro2" -version = "1.0.82" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] [[package]] name = "regex" -version = "1.10.4" +version = "1.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" dependencies = [ "aho-corasick", "memchr", @@ -433,9 +441,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" dependencies = [ "aho-corasick", "memchr", @@ -444,9 +452,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" +checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "rustc-demangle" @@ -468,31 +476,32 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.201" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" +checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.201" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" +checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn", ] [[package]] name = "serde_json" -version = "1.0.117" +version = "1.0.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] @@ -505,18 +514,24 @@ checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn", ] [[package]] name = "serde_spanned" -version = "0.6.5" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" dependencies = [ "serde", ] +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + [[package]] name = "signal-hook" version = "0.3.17" @@ -556,7 +571,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys", ] [[package]] @@ -573,20 +588,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.63" +version = "2.0.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf5be731623ca1a1fb7d8be6f261a3be6d3e2337b8a1f97be944d020c8fcb704" +checksum = "578e081a14e0cefc3279b0472138c513f37b41a08d5a3cca9b6e4e8ceb6cd525" dependencies = [ "proc-macro2", "quote", @@ -595,29 +599,29 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.60" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.60" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn", ] [[package]] name = "tokio" -version = "1.37.0" +version = "1.39.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "9babc99b9923bfa4804bd74722ff02c0381021eafa4db9949217e3be8e84fff5" dependencies = [ "backtrace", "bytes", @@ -625,7 +629,19 @@ dependencies = [ "mio", "pin-project-lite", "socket2", - "windows-sys 0.48.0", + "tokio-macros", + "windows-sys", +] + +[[package]] +name = "tokio-macros" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +dependencies = [ + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -643,9 +659,9 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" dependencies = [ "serde", ] @@ -671,15 +687,15 @@ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "utf8parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "wasi" @@ -715,144 +731,78 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - [[package]] name = "windows-sys" version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.5", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "windows-targets", ] [[package]] name = "windows-targets" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm 0.52.5", - "windows_aarch64_msvc 0.52.5", - "windows_i686_gnu 0.52.5", + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", "windows_i686_gnullvm", - "windows_i686_msvc 0.52.5", - "windows_x86_64_gnu 0.52.5", - "windows_x86_64_gnullvm 0.52.5", - "windows_x86_64_msvc 0.52.5", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", ] [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_msvc" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_i686_gnu" -version = "0.48.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" [[package]] name = "windows_i686_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_msvc" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_x86_64_gnu" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_msvc" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" @@ -871,20 +821,20 @@ checksum = "213b7324336b53d2414b2db8537e56544d981803139155afa84f76eeebb7a546" [[package]] name = "zerocopy" -version = "0.7.34" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.34" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn", ] diff --git a/Cargo.toml b/Cargo.toml index 49d8c40..d621bf9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ repository = "https://github.com/hyprland-community/hyprland-autoname-workspaces [dependencies] regex = "1" clap = { version = "4.3.19", features = ["derive"] } -hyprland = { version = "=0.4.0-alpha.2", features = ["silent"] } +hyprland = { git = "https://github.com/hyprland-community/hyprland-rs", branch = "master", features = ["silent"] } signal-hook = "0.3.17" toml = { version = "0.7.6", features = ["indexmap", "preserve_order"] } xdg = "2.5.2" diff --git a/src/renamer/mod.rs b/src/renamer/mod.rs index 4759583..1b3299f 100644 --- a/src/renamer/mod.rs +++ b/src/renamer/mod.rs @@ -7,7 +7,7 @@ mod macros; use crate::config::{Config, ConfigFile, ConfigFormatRaw}; use crate::params::Args; use formatter::*; -use hyprland::data::{Client, Clients, Workspace}; +use hyprland::data::{Client, Clients, FullscreenMode, Workspace}; use hyprland::dispatch::*; use hyprland::event_listener::{EventListener, WorkspaceDestroyedEventData}; use hyprland::prelude::*; @@ -36,7 +36,7 @@ pub struct AppClient { #[allow(dead_code)] initial_title: String, is_active: bool, - is_fullscreen: bool, + is_fullscreen: FullscreenMode, is_dedup_inactive_fullscreen: bool, matched_rule: IconStatus, } @@ -312,7 +312,7 @@ mod tests { class: "kitty".to_string(), title: "~".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::Fullscreen, initial_title: "zsh".to_string(), matched_rule: Inactive(Class("(kitty|alacritty)".to_string(), "term".to_string())), is_dedup_inactive_fullscreen: false, @@ -324,7 +324,7 @@ mod tests { title: "xplr".to_string(), initial_title: "zsh".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: Inactive(Class("(kitty|alacritty)".to_string(), "term".to_string())), is_dedup_inactive_fullscreen: false, }; @@ -335,7 +335,7 @@ mod tests { title: "".to_string(), initial_title: "zsh".to_string(), is_active: true, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: Active(Class("(kitty|alacritty)".to_string(), "term".to_string())), is_dedup_inactive_fullscreen: false, }; @@ -346,7 +346,7 @@ mod tests { title: "".to_string(), initial_title: "zsh".to_string(), is_active: false, - is_fullscreen: true, + is_fullscreen: FullscreenMode::Fullscreen, matched_rule: Inactive(Class("(kitty|alacritty)".to_string(), "term".to_string())), is_dedup_inactive_fullscreen: false, }; @@ -357,7 +357,7 @@ mod tests { title: "".to_string(), initial_title: "zsh".to_string(), is_active: false, - is_fullscreen: true, + is_fullscreen: FullscreenMode::Fullscreen, matched_rule: Inactive(Class("(kitty|alacritty)".to_string(), "term".to_string())), is_dedup_inactive_fullscreen: false, }; @@ -368,7 +368,7 @@ mod tests { title: "".to_string(), initial_title: "zsh".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: Inactive(Class("alacritty".to_string(), "term".to_string())), is_dedup_inactive_fullscreen: false, }; @@ -416,7 +416,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -433,7 +433,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -450,7 +450,7 @@ mod tests { title: "alacritty".to_string(), initial_title: "alacritty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "alacritty".to_string(), "alacritty".to_string(), @@ -467,7 +467,7 @@ mod tests { title: "alacritty".to_string(), initial_title: "alacritty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "alacritty".to_string(), "alacritty".to_string(), @@ -484,7 +484,7 @@ mod tests { title: "alacritty".to_string(), initial_title: "alacritty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "alacritty".to_string(), "alacritty".to_string(), @@ -552,7 +552,7 @@ mod tests { title: "alacritty".to_string(), initial_title: "zsh".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "alacritty".to_string(), "alacritty".to_string(), @@ -569,7 +569,7 @@ mod tests { title: "alacritty".to_string(), initial_title: "zsh".to_string(), is_active: true, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "alacritty".to_string(), "alacritty".to_string(), @@ -586,7 +586,7 @@ mod tests { title: "~".to_string(), initial_title: "zsh".to_string(), is_active: true, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -644,7 +644,7 @@ mod tests { initial_class: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -661,7 +661,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -678,7 +678,7 @@ mod tests { title: "alacritty".to_string(), initial_title: "alacritty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "alacritty".to_string(), "alacritty".to_string(), @@ -695,7 +695,7 @@ mod tests { title: "alacritty".to_string(), initial_title: "alacritty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "alacritty".to_string(), "alacritty".to_string(), @@ -712,7 +712,7 @@ mod tests { title: "alacritty".to_string(), initial_title: "alacritty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "alacritty".to_string(), "alacritty".to_string(), @@ -774,7 +774,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -791,7 +791,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -808,7 +808,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -825,7 +825,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -842,7 +842,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -897,7 +897,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -914,7 +914,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -931,7 +931,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: true, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -948,7 +948,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -965,7 +965,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1021,7 +1021,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1038,7 +1038,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1055,7 +1055,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: true, + is_fullscreen: FullscreenMode::Fullscreen, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1072,7 +1072,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1089,7 +1089,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1145,7 +1145,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1162,7 +1162,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1179,7 +1179,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: true, - is_fullscreen: true, + is_fullscreen: FullscreenMode::Fullscreen, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1196,7 +1196,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1213,7 +1213,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1267,7 +1267,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: Inactive(Class("kitty".to_string(), "term".to_string())), is_dedup_inactive_fullscreen: false, }, @@ -1277,7 +1277,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: Inactive(Class("kitty".to_string(), "term".to_string())), is_dedup_inactive_fullscreen: false, }, @@ -1287,7 +1287,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: Inactive(Class("kitty".to_string(), "term".to_string())), is_dedup_inactive_fullscreen: false, }, @@ -1297,7 +1297,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: Inactive(Class("kitty".to_string(), "term".to_string())), is_dedup_inactive_fullscreen: false, }, @@ -1307,7 +1307,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: Inactive(Class("kitty".to_string(), "term".to_string())), is_dedup_inactive_fullscreen: false, }, @@ -1357,7 +1357,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1374,7 +1374,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1391,7 +1391,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: true, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1408,7 +1408,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1425,7 +1425,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1482,7 +1482,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1499,7 +1499,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1516,7 +1516,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: true, + is_fullscreen: FullscreenMode::Fullscreen, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1533,7 +1533,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1550,7 +1550,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1610,7 +1610,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1627,7 +1627,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1644,7 +1644,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: true, - is_fullscreen: true, + is_fullscreen: FullscreenMode::Fullsreen, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1661,7 +1661,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1678,7 +1678,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1745,7 +1745,7 @@ mod tests { title: "kitty".to_string(), initial_title: "kitty".to_string(), is_active: true, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1762,7 +1762,7 @@ mod tests { title: "alacritty".to_string(), initial_title: "alacritty".to_string(), is_active: true, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "alacritty".to_string(), "alacritty".to_string(), @@ -1779,7 +1779,7 @@ mod tests { title: "qute".to_string(), initial_title: "qute".to_string(), is_active: true, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "qute".to_string(), "qute".to_string(), @@ -1831,7 +1831,7 @@ mod tests { title: "spotify".to_string(), initial_title: "spotify".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "".to_string(), "".to_string(), @@ -1882,7 +1882,7 @@ mod tests { title: "osu!".to_string(), initial_title: "osu!".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "osu!".to_string(), "osu!".to_string(), @@ -1933,7 +1933,7 @@ mod tests { title: "~".to_string(), initial_title: "zsh".to_string(), is_active: true, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -1975,7 +1975,7 @@ mod tests { initial_title: "zsh".to_string(), title: "~".to_string(), is_active: true, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -2038,7 +2038,7 @@ mod tests { title: "~".to_string(), initial_title: "zsh".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, is_dedup_inactive_fullscreen: false, matched_rule: renamer.parse_icon( "kitty".to_string(), @@ -2083,7 +2083,7 @@ mod tests { initial_title: "zsh".to_string(), title: "~".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -2130,7 +2130,7 @@ mod tests { initial_title: "zsh".to_string(), title: "~".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "kitty".to_string(), "kitty".to_string(), @@ -2205,7 +2205,7 @@ mod tests { initial_title: "zsh".to_string(), title: "emerge: (13 of 20) dev-lang/rust-1.69.0-r1 Compile:".to_string(), is_active: false, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "foot".to_string(), "foot".to_string(), @@ -2238,7 +2238,7 @@ mod tests { initial_title: "zsh".to_string(), title: "pacman: (14 of 20) dev-lang/rust-1.69.0-r1 Compile:".to_string(), is_active: true, - is_fullscreen: false, + is_fullscreen: FullscreenMode::None, matched_rule: renamer.parse_icon( "foot".to_string(), "foot".to_string(),