- yWeb: enable grab to do screenshots

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-10-13 14:06:04 +02:00
committed by Thilo Graf
parent 5fd7ec68ac
commit 47e1382819
3 changed files with 20 additions and 4 deletions

View File

@@ -479,17 +479,24 @@ do_lcshot()
}
# -----------------------------------------------------------
# osd shot
# $1= fb | dbox bzw. leer
# $1= fbshot | grab | dbox bzw. leer
# -----------------------------------------------------------
do_fbshot()
{
if [ "$1" = "fb" ]; then
if [ "$1" = "fbshot" ]; then
shift 1
if [ -e "$y_path_varbin/fbshot" ]; then
$y_path_varbin/fbshot $*
else
fbshot $*
fi
elif [ "$1" = "grab" ]; then
shift 1
if [ -e "$y_path_varbin/grab" ]; then
$y_path_varbin/grab $*
else
grab $*
fi
else
shift 1
if [ -e "$y_path_varbin/dboxshot" ]; then