effects tool in /plugins, bin in /scripts, edited picker.qml to work with installed bin in /usr/bin

This commit is contained in:
2026-05-13 17:35:19 +02:00
parent 26bfa952d7
commit 6e6f6c28f6
8 changed files with 1678 additions and 1 deletions
+1 -1
View File
@@ -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 ? [Quickshell.shellDir + "/scripts/rs-pictures"] : ["swappy", "-f"];
const cmd = Config.screenshot.enable_pp ? ["iwaku", "--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();
}