made locations menu slightly more readable
This commit is contained in:
parent
3d8d6b1aee
commit
fc41573aac
|
@ -33,7 +33,7 @@ get_locations() {
|
|||
location_path=""
|
||||
if printf "%s" "$line" | grep -q "SSHFS Mount "
|
||||
then
|
||||
location_path=$(printf "%s" "$line" | rev | cut -f 1 -d ' ' | rev)
|
||||
location_path=$(printf "%s" "$line" | rev | cut -f 1-2 -d ' ' | rev)
|
||||
location_name=$(basename "$location_path")
|
||||
printf "<item label=\"%s\">\\n" "$location_name"
|
||||
printf " <action name=\"Execute\">\\n"
|
||||
|
|
Loading…
Reference in New Issue