aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2022-05-29 23:29:36 +0300
committerla-ninpre <leobrekalini@gmail.com>2022-05-29 23:29:36 +0300
commite3ee8e9cfe22cafab6e0999a70e16d1f7c1a32d3 (patch)
treead0308a24019f8795dcca01c1aa57d81de1c2278
parentb567e6a9fc7a1715a901353cd60c7297b5cda2f0 (diff)
downloaddotfiles-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-xbin/.local/bin/scrot_cmd2
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