commit edd67882158e81f3ba9fd3e20091685c77548d49 parent ae0765c101b7f95821ffb1010b64b1593a8f805d Author: Arne Swanson <nownpl@0111.click> Date: Wed, 15 Aug 2018 22:22:59 -0300 Made `shot` more portable. Diffstat:
scripts/shot | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/shot b/scripts/shot @@ -1,4 +1,4 @@ #!/bin/sh DIRECTORY="${HOME}/files/shot" import "${DIRECTORY}/$1.png" -echo "${DIRECTORY}/$1.png" | pb -f | xc- \ No newline at end of file +echo "${DIRECTORY}/$1.png" | pb -f | tr -d '\n' | xclip -selection clipboard+ \ No newline at end of file