This commit is contained in:
sose 2019-01-26 17:53:33 -08:00
parent fc41573aac
commit 355cb93945
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ get_locations() {
location_path=""
if printf "%s" "$line" | grep -q "SSHFS Mount "
then
location_path=$(printf "%s" "$line" | rev | cut -f 1-2 -d ' ' | rev)
location_name=$(basename "$location_path")
location_path=$(printf "%s" "$line" | rev | cut -f 2 -d ' ' | rev)
location_name=$(printf "%s" "$line" | rev | cut -f 1-2 -d ' ' | rev)
printf "<item label=\"%s\">\\n" "$location_name"
printf " <action name=\"Execute\">\\n"
printf " <command>thunar %s</command>\\n" "$location_path"