#!/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"
