blob: 2e34b1c24d387d4795e62e51612a448026a901be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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
|