#!/bin/bash if [[ $1 == *.sh ]] then chmod +x "$1" && xfce4-terminal --hold --geometry=80x24 -e "/bin/bash -c $1" && chmod -x "$1" elif [[ $1 == *.py ]] then xfce4-terminal --hold --geometry=80x24 -e "/bin/python3 $1" & else xdg-open "$1" & fi