added share screenshot
This commit is contained in:
parent
561b7e58cd
commit
a0eb5541bd
14
.local/share/scripts/share-screenshot.sh
Executable file
14
.local/share/scripts/share-screenshot.sh
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
# required packages:
|
||||||
|
# - xclicp
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
SCRIPT=$(readlink -f "$0")
|
||||||
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||||
|
|
||||||
|
$SCRIPTPATH/take-selected-screenshot.sh \
|
||||||
|
| $SCRIPTPATH/nc-share-file.sh \
|
||||||
|
| awk '{print $1"/preview"}' \
|
||||||
|
| xclip -i -selection "clipboard"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user