all repos — dotfiles @ e3ee8e9cfe22cafab6e0999a70e16d1f7c1a32d3

personal dotfiles

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
commit

e3ee8e9cfe22cafab6e0999a70e16d1f7c1a32d3

parent

b567e6a9fc7a1715a901353cd60c7297b5cda2f0

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M bin/.local/bin/scrot_cmdbin/.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