View difference between Paste ID: AvBH9tdj and KE4e35UU
SHOW: | | - or go back to the newest paste.
1
#! /usr/bin/env bash
2-
2+
 
3
###################################################
4
#
5
#  Copyright (C) 2008, 2009, 2010 Mario Kemper <mario.kemper@googlemail.com> and Shutter Team
6
#
7
#  This file is part of Shutter.
8
#
9
#  Shutter is free software; you can redistribute it and/or modify
10
#  it under the terms of the GNU General Public License as published by
11
#  the Free Software Foundation; either version 3 of the License, or
12
#  (at your option) any later version.
13
#
14
#  Shutter is distributed in the hope that it will be useful,
15
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
16
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
#  GNU General Public License for more details.
18
#
19
#  You should have received a copy of the GNU General Public License
20
#  along with Shutter; if not, write to the Free Software
21
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22
#
23
###################################################
24-
24+
 
25
TEXTDOMAIN=shutter-plugins
26
TEXTDOMAINDIR=$SHUTTER_INTL
27-
PLUGIN_NAME=$"enter a name here"
27+
PLUGIN_NAME=$"My first plugin"
28-
PLUGIN_SORT=$"enter a category here, e.g. Effect"
28+
PLUGIN_SORT=$"Effect"
29-
PLUGIN_TIP=$"enter a tooltip"
29+
PLUGIN_TIP=$"This is a tool tip!"
30
PLUGIN_EXT="image/png;image/bmp;image/jpeg"
31-
31+
 
32
if [[ "${1}" = "name" ]];then
33-
   	echo "${PLUGIN_NAME}"
33+
        echo "${PLUGIN_NAME}"
34
    exit 0
35
elif [[ "${1}" = "sort" ]];then
36
    echo "${PLUGIN_SORT}"
37
    exit 0
38
elif [[ "${1}" = "tip" ]];then
39
    echo "${PLUGIN_TIP}"
40
    exit 0
41
elif [[ "${1}" = "ext" ]];then
42
    echo "${PLUGIN_EXT}"
43
    exit 0
44
fi
45-
45+
 
46
FILE="${1}"
47
WIDTH="${2}"
48
HEIGHT="${3}"
49
#FILEYTPE="${4}"
50
#GEO="${2}x${3}"
51-
51+
 
52-
<insert your code here>
52+
echo "Hello World!"
53
       
54
exit 0