-
Notifications
You must be signed in to change notification settings - Fork 1
/
termuxkey.py
39 lines (35 loc) · 895 Bytes
/
termuxkey.py
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
import os
from time import sleep
a ='\033[92m'
b ='\033[91m'
c ='\033[0m'
os.system('clear')
print(a+'\t Shortcut for help you in editing text')
print(b+'\t Tech-X')
print('\t https://www.mrtechx.com
')
print(a+'+'*40)
print('\nProses..')
sleep(1)
print(b+'\n[!] making termux properties directory..')
sleep(1)
try:
os.mkdir('/data/data/com.termux/files/home/.termux')
except:
pass
print(a+'[!]Success !')
sleep(1)
print(b+'\n[!] Making setup file..')
sleep(1)
key = "extra-keys = [['ESC','/','-','_','UP','<','>'],['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']]"
kontol = open('/data/data/com.termux/files/home/.termux/termux.properties','w')
kontol.write(key)
kontol.close()
sleep(1)
print(a+'[!] Success !')
sleep(1)
print(b+'\n[!] Setting up..')
sleep(2)
os.system('termux-reload-settings')
print(a+'[!] Successfully !! ^^'+c+'\nTech-X\nThanks :*\n\n')
# Tech-x