-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprograms.py
More file actions
248 lines (168 loc) · 3.99 KB
/
programs.py
File metadata and controls
248 lines (168 loc) · 3.99 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
## Modules
from tkinter import *
import os
## Window
win = Tk()
win.title("BoetPy Programs")
win.minsize(width=400, height=400)
win["bg"]="#d70751"
f = ("Times bold", 14)
class Master:
def btn1():
os.system("apt update -y")
def btn2():
os.system("apt upgrade -y")
def btn3():
os.system("apt install snapd -y")
def btn4():
os.system("snap install snap-store")
def btn5():
os.system("snap install spotify")
def btn6():
os.system("snap install audacity")
def btn7():
os.system("snap install VLC")
def btn8():
os.system("snap install obs-studio")
def btn9():
os.system("apt install simplescreenrecorder")
def btn10():
os.system("apt install libreoffice")
def btn11():
os.system("snap install teams")
def btn12():
os.system("apt install thunderbird")
def btn13():
os.system("snap install code --classic")
def btn14():
os.system("snap install gimp")
def btn15():
os.system("snap install telegram-desktop")
def btn16():
os.system("snap install discord")
def btn17():
os.system("snap install brave")
def btn18():
os.system("reboot")
def home():
win.destroy()
import BoetPy
class Buttons:
Button1 = Button (
win,
text="Update",
command=Master.btn1
)
Button2 = Button (
win,
text="Upgrade",
command=Master.btn2
)
Button3 = Button (
win,
text="Snapd",
command=Master.btn3
)
Button4 = Button (
win,
text="Snap-Store",
command=Master.btn4
)
Button5 = Button (
win,
text="Spotify",
command=Master.btn5
)
Button6 = Button (
win,
text="Audacity",
command=Master.btn6
)
Button7 = Button (
win,
text="VLC",
command=Master.btn7
)
Button8 = Button (
win,
text="OBS",
command=Master.btn8
)
Button9 = Button (
win,
text="SSR",
command=Master.btn9
)
Button10 = Button (
win,
text="Office",
command=Master.btn10
)
Button11 = Button (
win,
text="Teams",
command=Master.btn11
)
Button12 = Button (
win,
text="E-Mail",
command=Master.btn12
)
Button13 = Button (
win,
text="VScode",
command=Master.btn13
)
Button14 = Button (
win,
text="GIMP",
command=Master.btn14
)
Button15 = Button (
win,
text="Telegram",
command=Master.btn15
)
Button16 = Button (
win,
text="Discord",
command=Master.btn16
)
Button17 = Button (
win,
text="Brave",
command=Master.btn17
)
Button18 = Button (
win,
text="Reboot",
command=Master.btn18
)
Home1 = Button (
win,
text="Home",
width=20,
height=3,
command=Master.home
)
class Packs:
Buttons.Button1.grid(row=0, column=1,)
Buttons.Button2.grid(row=0, column=2)
Buttons.Button3.grid(row=0, column=3)
Buttons.Button4.grid(row=0, column=4)
Buttons.Button5.grid(row=0, column=5)
Buttons.Button6.grid(row=1, column=1)
Buttons.Button7.grid(row=1, column=2)
Buttons.Button8.grid(row=1, column=3)
Buttons.Button9.grid(row=1, column=4)
Buttons.Button10.grid(row=1, column=5)
Buttons.Button11.grid(row=2, column=1)
Buttons.Button12.grid(row=2, column=2)
Buttons.Button13.grid(row=2, column=3)
Buttons.Button14.grid(row=2, column=4)
Buttons.Button15.grid(row=2, column=5)
Buttons.Button16.grid(row=3, column=1)
Buttons.Button17.grid(row=3, column=2)
Buttons.Button18.grid(row=3, column=3)
Buttons.Home1.grid(row=5, column=3)
win.mainloop()