💾 Archived View for ait.place › dot › bin › fileopen.sh.txt captured on 2023-01-29 at 03:32:08.

View Raw

More Information

⬅️ Previous capture (2022-07-16)

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

#!/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