Skip to content

Commit 73623e3

Browse files
committed
removed some options
1 parent d62e5e9 commit 73623e3

File tree

2 files changed

+3
-26
lines changed

2 files changed

+3
-26
lines changed

app.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@ def discord():
2222
def vol_mix():
2323
subprocess.Popen('C:\Windows\System32\SndVol.exe', shell=True, stdin=subprocess.DEVNULL, stdout = subprocess.PIPE, stderr= subprocess.PIPE)
2424

25-
def steam():
26-
subprocess.Popen(steam_dir, shell=True, stdin=subprocess.DEVNULL, stdout = subprocess.PIPE, stderr= subprocess.PIPE)
27-
28-
def epic():
29-
subprocess.Popen(epic_dir, shell=True, stdin=subprocess.DEVNULL, stdout = subprocess.PIPE, stderr= subprocess.PIPE)
30-
31-
def ubi():
32-
subprocess.Popen(ubi_dir, shell=True, stdin=subprocess.DEVNULL, stdout = subprocess.PIPE, stderr= subprocess.PIPE)
33-
3425
def task():
3526
subprocess.Popen('taskmgr', shell=True, stdin=subprocess.DEVNULL, stdout = subprocess.PIPE, stderr= subprocess.PIPE)
3627

main.py

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
window = Tk()
1111
window.title("Sys Master")
12-
window.geometry('500x250')
12+
window.geometry('500x210')
1313
menubar = Menu(window)
1414

1515
def callback(url):
@@ -51,10 +51,6 @@ def open_popup():
5151
lbl.grid(column=0, row=4)
5252
btn = Button(window, text="Run", width=8, command=app.mem)
5353
btn.grid(column=1, row=4)
54-
lbl = Label(window, text="Task Manager",font=('Arial',12))
55-
lbl.grid(column=0, row=5)
56-
btn = Button(window, text="Run", width=8, command=app.task)
57-
btn.grid(column=1, row=5)
5854
lbl = Label(window, text="Discord",justify=LEFT ,font=('Arial',12))
5955
lbl.grid(column=3, row=0)
6056
btn = Button(window, text="Run", width=8, command=app.discord)
@@ -67,20 +63,10 @@ def open_popup():
6763
lbl.grid(column=3, row=2)
6864
btn = Button(window, text="Run", width=8, command=app.vol_mix)
6965
btn.grid(column=4, row=2)
70-
lbl = Label(window, text="Steam",font=('Arial',12))
66+
lbl = Label(window, text="Task Manager",font=('Arial',12))
7167
lbl.grid(column=3, row=3)
72-
btn = Button(window, text="Run", width=8, command=app.steam)
68+
btn = Button(window, text="Run", width=8, command=app.task)
7369
btn.grid(column=4, row=3)
74-
lbl = Label(window, text="Epic games",font=('Arial',12))
75-
lbl.grid(column=3, row=4)
76-
btn = Button(window, text="Run", width=8, command=app.epic)
77-
btn.grid(column=4, row=4)
78-
lbl = Label(window, text="Uplay",font=('Arial',12))
79-
lbl.grid(column=3, row=5)
80-
btn = Button(window, text="Run", width=8, command=app.ubi)
81-
btn.grid(column=4, row=5)
82-
83-
user_name = Label(window, text = "Made by Jothi Prasath",font=('Arial',7)).place(x = 350,y = 220)
8470

8571
window.config(menu=menubar)
8672
window.mainloop()

0 commit comments

Comments
 (0)