scrot_cmd: separate commands from one another when commands are separated by && they won't run if previous one isn't finished.
la-ninpre leobrekalini@gmail.com
Sun, 29 May 2022 23:29:36 +0300
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bin/.local/bin/scrot_cmd
→
bin/.local/bin/scrot_cmd
@@ -27,7 +27,7 @@ \"screenshot of $_scrot_human_readable_mode is saved to \$f\""
} [ "$_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