💾 Archived View for ait.place › dot › bin › fileopen.sh.txt captured on 2022-07-16 at 13:48:52.

View Raw

More Information

-=-=-=-=-=-=-

#!/bin/bash

	log=$HOME/.xlog
	path=${1#file://}

        if [ -d $path ]
	then
        	/usr/bin/st -e "/usr/bin/$FILE $path" &>> $log
	else
		/usr/bin/st -e "/usr/bin/$FILE --selectfile=$path" &>> $log
	fi