💾 Archived View for ait.place › dot › bin › .local › bin › fileopen.sh.txt captured on 2022-06-03 at 22:56:22.

View Raw

More Information

⬅️ Previous capture (2021-12-03)

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

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