-
Notifications
You must be signed in to change notification settings - Fork 3
/
h19term
executable file
·40 lines (37 loc) · 1008 Bytes
/
h19term
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
if [ $TERM == "linux" ]; then
/usr/local/bin/h19term.py
exit
fi
TERMINAL=1
# We get here if we are running under X11
case "$TERMINAL" in
1)
if [ -f "/usr/bin/gnome-terminal" ]; then
gnome-terminal --profile H8 -t H19term --geometry=82x31 -- /usr/local/bin/h19term.py
exit
fi
;;
2)
if [ -f "/usr/bin/mate-terminal" ]; then
mate-terminal --profile H8 -t H19term --geometry=82x31 -- /usr/local/bin/h19term.py
exit
fi
;;
3)
if [ -f "/usr/bin/xfce4-terminal" ]; then
xfce4-terminal --title=H19term --geometry=82x31 --font=Heathkit-H19-bitmap -e /usr/local/bin/h19term.py
exit
fi
;;
4)
if [ -f "/usr/bin/konsole" ]; then
konsole --profile H8 -e /usr/local/bin/h19term.py
exit
fi
;;
5)
# add your custom terminal here
exit
;;
esac