Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
13
.bin/sshot-farbfeld
Executable file
13
.bin/sshot-farbfeld
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -z $1 ] && exit 2
|
||||
|
||||
. ${HOME}/.bin/_config
|
||||
|
||||
# TAKE SCREENSHOT
|
||||
flameshot gui -p "/tmp/$1.png" > /dev/null 2>&1
|
||||
test -f "/tmp/$1.png" || exit 1
|
||||
|
||||
png2ff < "/tmp/$1.png" | bzip2 > "$1.ff.bz2"
|
||||
|
||||
echo "@$1.ff.bz2"
|
||||
Reference in New Issue
Block a user