1 2 3 4 5 6 7
tomnt=$( cat /etc/fstab | grep mnt | sed "s:.* \(/mnt/[^ ]*\) .*:\1:g" | dmenu ) mount $tomnt st -e ranger $tomnt sync umount $tomnt