Fully added GUI for sshfs

This commit is contained in:
fosslinux 2018-11-20 00:03:53 -08:00 committed by Samuel Tyler
parent c6dbed1904
commit 729e224dc2
2 changed files with 10 additions and 2 deletions

View File

@ -8,6 +8,11 @@
- xdotool (gui)
- ssh
- sshfs
- ssh-askpass
### TODO
- Support for passwords with private keys
- Support for passwords with private keys (done probably?)
- Code cleanup
- Equal signs before all yad options
- Move shared functions into separate files
- Error handling for file creation

View File

@ -76,7 +76,7 @@ get_info() {
info=$(yad \
--posx="$mouse_x" \
--posy="$mouse_y" \
--width="350" \
--width=400 \
--title="New remote directory" \
--text="Link to a remote directory" \
--form \
@ -118,6 +118,9 @@ configure_mount() {
info_box "Attempting to link directories..." &
info_pid=$(( $! + 2 )) # yikes, is this safe?
test -e "$sshfs_local_path" \
|| mkdir -p "$sshfs_local_path"
if ! ssh "$server_name" "test -d $sshfs_remote_path"
then