From e3ee8e9cfe22cafab6e0999a70e16d1f7c1a32d3 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Sun, 29 May 2022 23:29:36 +0300 Subject: scrot_cmd: separate commands from one another when commands are separated by && they won't run if previous one isn't finished. --- bin/.local/bin/scrot_cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/.local/bin/scrot_cmd b/bin/.local/bin/scrot_cmd index 5076468..d21fc92 100755 --- a/bin/.local/bin/scrot_cmd +++ b/bin/.local/bin/scrot_cmd @@ -27,7 +27,7 @@ scrot_cmd() { } [ "$_scrot_copy_to_clipboard" = "YES" ] && { - _scrot_exec="$_scrot_exec && cat \$f | xclip -t image/png -sel c" + _scrot_exec="$_scrot_exec ; cat \$f | xclip -t image/png -sel c" } # shellcheck disable=SC2086 -- cgit v1.2.3