-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRun_Terminus.py
More file actions
160 lines (121 loc) · 4.54 KB
/
Copy pathRun_Terminus.py
File metadata and controls
160 lines (121 loc) · 4.54 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
from colorama import Fore, Back, Style
from colorama import init
from colorama import init
import config
import time
init(autoreset=True)
init()
import os
logo= '''
/$$$$$$$$ /$$ /$$ /$$ /$$
|__ $$__/ |__/ | $$ | $$ /$$$$
| $$ /$$$$$$ /$$$$$$ /$$$$$$/$$$$ /$$ /$$$$$$$ /$$ /$$ /$$$$$$$ | $$ | $$|_ $$
| $$ /$$__ $$ /$$__ $$| $$_ $$_ $$| $$| $$__ $$| $$ | $$ /$$_____/ | $$ / $$/ | $$
| $$| $$$$$$$$| $$ \__/| $$ \ $$ \ $$| $$| $$ \ $$| $$ | $$| $$$$$$ \ $$ $$/ | $$
| $$| $$_____/| $$ | $$ | $$ | $$| $$| $$ | $$| $$ | $$ \____ $$ \ $$$/ | $$
| $$| $$$$$$$| $$ | $$ | $$ | $$| $$| $$ | $$| $$$$$$/ /$$$$$$$/ \ $/ /$$$$$$
|__/ \_______/|__/ |__/ |__/ |__/|__/|__/ |__/ \______/ |_______/ \_/ |______/
'''
x="Loaded"
def print_menu():
os.system("clear")
print(Style.BRIGHT+Fore.YELLOW+logo) ## Your menu design here
print (40 * "-" , "Quick" , 40 * "-")
print (Style.BRIGHT+Back.BLACK+Fore.GREEN+"1.",Fore.WHITE+"Google Chrome ")
print (Style.BRIGHT+Back.BLACK+Fore.BLUE+"2.",Fore.WHITE+config.qApp2)
print (Style.BRIGHT+Back.BLACK+Fore.CYAN+"3.",Fore.WHITE+config.qApp3)
print (Style.BRIGHT+Back.BLACK+Fore.MAGENTA+"4.",Fore.WHITE+config.qApp4)
print (Style.BRIGHT+Back.BLACK+Fore.YELLOW+"5.",Fore.WHITE+config.qApp5)
print (Style.BRIGHT+Back.BLACK+Fore.RED+"6.",Fore.WHITE+config.qApp6)
print (Style.BRIGHT+Back.BLACK+Fore.WHITE+"7.",Fore.WHITE+config.qApp7)
print (40 * "-", "Menu" , 40 * "-")
print(Style.BRIGHT+Back.BLACK+Fore.RED+"Quick Keys- Hit Enter To Select Option")
def chrome_menu():
print (40 * "-" , "Chrome" , 40 * "-")
print (Style.BRIGHT+Back.BLACK+Fore.GREEN+"0." "Launch Google Chrome ")
print (Style.BRIGHT+Back.BLACK+Fore.BLUE+"1.",config.qName1)
print (Style.BRIGHT+Back.BLACK+Fore.CYAN+"2.",config.qName2)
print (Style.BRIGHT+Back.BLACK+Fore.MAGENTA+"3.",config.qName3)
print (Style.BRIGHT+Back.BLACK+Fore.YELLOW+"4.",config.qName4)
print (40 * "-", "Links" , 40 * "-")
def terminalmenu():
print(Style.BRIGHT+Back.BLACK+Fore.YELLOW+"Enter Terminal Command:")
osterminal=input()
os.system(osterminal)
print (Style.BRIGHT+Back.BLACK+Fore.YELLOW+"1.Enter Terminal Command, 2. Go Back To To Menu")
osterminal=input()
if osterminal=="1":
terminalmenu()
if osterminal=="2":
start()
def start():
print(Style.BRIGHT+Back.BLACK+Fore.RED+x)
print_menu()
option=input()
if option=='1':
chrome_menu()
print(Style.BRIGHT+Back.BLACK+Fore.RED+"Quick Keys- Select URL")
cmenu=input()
if cmenu=='1':
os.system (config.url1)
start()
elif cmenu=="2":
os.system("open",config.url2)
start()
elif cmenu=='3':
os.system("open",config.url3)
start()
elif cmenu=="4":
os.sytem("open",config.url4)
start()
elif cmenu=="0":
os.system("open -a '/Applications/Google Chrome.app' ")
start()
elif option=='2':
os.system(config.appId2)
start()
elif option=='3':
os.system(config.appId3)
start()
elif option=='4':
os.system(config.appId4)
start()
elif option=='5':
os.system(config.appId5)
start()
elif option=='6':
os.system(config.appId6)
start()
elif option=='7':
os.system(config.appId7)
start()
elif option==".fquit":
quit()
elif option==".about":
print(Style.BRIGHT+Back.BLACK+Fore.YELLOW+"Made by iZevo")
print(Style.BRIGHT+Back.BLACK+Fore.YELLOW+"www.projectzevo.com")
time.sleep(6)
start()
elif option==".sourcecode":
os.system("open https://github.com/iozevo/iozevo.github.io")
elif option==".oscommand":
terminalmenu()
elif option==".list":
os.system("ls")
time.sleep(10)
start()
elif option==".terminus":
print(logo)
print("pre alpha buld version 2")
print ("Type (Open-Source)")
print ("Script Ended")
elif option==".systeminfo":
os.system("system_profiler")
time.sleep(10)
start()
elif option==".reportbug":
os.system("open -a https://github.com/iozevo/iozevo.github.io/issues")
else:
start()
print ("Loading")
start()