diff --git a/.gitignore b/.gitignore index ecab050..72ab8cb 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ pkg/ uv.lock .qtcreator/ dist/ +**/target/ diff --git a/Helpers/Picker.qml b/Helpers/Picker.qml index e0b2884..27fc924 100644 --- a/Helpers/Picker.qml +++ b/Helpers/Picker.qml @@ -66,7 +66,7 @@ MouseArea { function save(): void { const tmpfile = Qt.resolvedUrl(`/tmp/zshell-picker-${Quickshell.processId}-${Date.now()}.png`); - const cmd = Config.screenshot.enable_pp ? ["iwaku", "--image"] : ["swappy", "-f"]; + const cmd = Config.screenshot.enable_pp ? ["zshell-img-tools", "--image"] : ["swappy", "-f"]; ZShellIo.saveItem(screencopy, tmpfile, Qt.rect(Math.ceil(rsx), Math.ceil(rsy), Math.floor(sw), Math.floor(sh)), path => Quickshell.execDetached([...cmd, path])); closeAnim.start(); } diff --git a/scripts/iwaku b/scripts/iwaku deleted file mode 100755 index d5b6a6c..0000000 Binary files a/scripts/iwaku and /dev/null differ diff --git a/Plugins/iwaku/Cargo.lock b/zshell-img-tools/Cargo.lock similarity index 99% rename from Plugins/iwaku/Cargo.lock rename to zshell-img-tools/Cargo.lock index c5e7fe8..85359cd 100644 --- a/Plugins/iwaku/Cargo.lock +++ b/zshell-img-tools/Cargo.lock @@ -405,17 +405,6 @@ version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" -[[package]] -name = "iwaku" -version = "0.1.0" -dependencies = [ - "anyhow", - "image", - "serde", - "serde_json", - "tiny-skia", -] - [[package]] name = "jobserver" version = "0.1.34" @@ -1075,6 +1064,17 @@ version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" +[[package]] +name = "zshell-img-tools" +version = "0.1.0" +dependencies = [ + "anyhow", + "image", + "serde", + "serde_json", + "tiny-skia", +] + [[package]] name = "zune-core" version = "0.5.1" diff --git a/Plugins/iwaku/Cargo.toml b/zshell-img-tools/Cargo.toml similarity index 88% rename from Plugins/iwaku/Cargo.toml rename to zshell-img-tools/Cargo.toml index d74c3eb..95a19e1 100644 --- a/Plugins/iwaku/Cargo.toml +++ b/zshell-img-tools/Cargo.toml @@ -1,10 +1,10 @@ [package] -name = "iwaku" +name = "zshell-img-tools" version = "0.1.0" edition = "2024" [[bin]] -name = "iwaku" +name = "zshell-img-tools" path = "src/main.rs" [dependencies] diff --git a/Plugins/iwaku/README.md b/zshell-img-tools/README.md similarity index 100% rename from Plugins/iwaku/README.md rename to zshell-img-tools/README.md diff --git a/Plugins/iwaku/src/config.rs b/zshell-img-tools/src/config.rs similarity index 100% rename from Plugins/iwaku/src/config.rs rename to zshell-img-tools/src/config.rs diff --git a/Plugins/iwaku/src/effects.rs b/zshell-img-tools/src/effects.rs similarity index 100% rename from Plugins/iwaku/src/effects.rs rename to zshell-img-tools/src/effects.rs diff --git a/Plugins/iwaku/src/main.rs b/zshell-img-tools/src/main.rs similarity index 100% rename from Plugins/iwaku/src/main.rs rename to zshell-img-tools/src/main.rs