aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjoshua-redfield <joshua.redfield@gmail.com>2011-02-19 18:47:06 -0500
committerjoshua-redfield <joshua.redfield@gmail.com>2011-02-19 18:47:06 -0500
commit438c7186732aeb65046a66a305a73d2eba19ec68 (patch)
tree851ddb6719c1f265d0da8d57234267a4da34365b
parent825f8b4bee5f13f54709828f55f6d036adf9c4bf (diff)
downloadlauf-438c7186732aeb65046a66a305a73d2eba19ec68.tar.gz
lauf-438c7186732aeb65046a66a305a73d2eba19ec68.tar.xz
lauf-438c7186732aeb65046a66a305a73d2eba19ec68.zip
plugins/open.sh: Modified notification, Bothered me.
-rwxr-xr-xplugins/open.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/open.sh b/plugins/open.sh
index 7902021..f9a24ad 100755
--- a/plugins/open.sh
+++ b/plugins/open.sh
@@ -12,7 +12,8 @@
# Arguements for skipping GUI #
########################################################
if [ ! ${lauf_exec2:=unset} = "unset" ]; then
- lauf_notify "Opening:" "$lauf_exec"
+ lauf_exec=${lauf_exec#"$lauf_exec1 "}
+ lauf_notify "Opening File(s):" "$lauf_exec"
for arg in $lauf_exec
do
if [ ! $arg = $lauf_exec1 ]; then
@@ -28,7 +29,8 @@ cd $HOME
arg=$(zenity $lauf_app_options --file-selection --title=$lauf_app_name" - $1")
case $? in
0)
- lauf_notify "Opening:" "$arg"
+ arg=${arg#"$lauf_exec1 "}
+ lauf_notify "Opening File(s):" "$arg"
xdg-open "$arg"
return
;;