From 355cb93945bd9340fef80c6200f56bc8341281bb Mon Sep 17 00:00:00 2001 From: sose Date: Sat, 26 Jan 2019 17:53:33 -0800 Subject: [PATCH] woops --- openbox_files.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbox_files.sh b/openbox_files.sh index 407fbcf..fcbf679 100755 --- a/openbox_files.sh +++ b/openbox_files.sh @@ -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 "\\n" "$location_name" printf " \\n" printf " thunar %s\\n" "$location_path"