diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2022-05-29 23:29:36 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2022-05-29 23:29:36 +0300 |
| commit | e3ee8e9cfe22cafab6e0999a70e16d1f7c1a32d3 (patch) | |
| tree | ad0308a24019f8795dcca01c1aa57d81de1c2278 | |
| parent | b567e6a9fc7a1715a901353cd60c7297b5cda2f0 (diff) | |
| download | dotfiles-e3ee8e9cfe22cafab6e0999a70e16d1f7c1a32d3.tar.gz dotfiles-e3ee8e9cfe22cafab6e0999a70e16d1f7c1a32d3.zip | |
scrot_cmd: separate commands from one another
when commands are separated by && they won't run if previous one isn't
finished.
| -rwxr-xr-x | bin/.local/bin/scrot_cmd | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
