#!/bin/sh # # Copyright (C) 2010 Nick Schermer # Copyright (C) 2013 Graeme Gott # # This library is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Free # Software Foundation; either version 2 of the License, or (at your option) # any later version. # # This library is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for # more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # export TEXTDOMAIN="xfce4-panel" export TEXTDOMAINDIR="@CMAKE_INSTALL_FULL_LOCALEDIR@" ATPOINTER="false" case "$1" in -h|--help) echo "$(gettext "Usage:")" echo " $(basename $0) [$(gettext "OPTION")...]" echo echo "$(gettext "Options:")" echo " -p, --pointer $(gettext "Popup menu at current mouse position")" echo " -h, --help $(gettext "Show help options")" echo " -V, --version $(gettext "Print version information and exit")" exit 0 ;; -V|--version) echo "$(basename $0) @whiskermenu_version@" echo "Copyright (C) 2013 Graeme Gott" exit 0 ;; -p|--pointer) ATPOINTER="true" ;; esac @CMAKE_INSTALL_FULL_BINDIR@/xfce4-panel --plugin-event=whiskermenu:popup:bool:$ATPOINTER