💾 Archived View for ait.place › dot › bin › .local › bin › fileopen.sh.txt captured on 2021-12-03 at 14:04:38.

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