Added atom export script
This commit is contained in:
parent
cb38609429
commit
a5b11a53d6
1 changed files with 6 additions and 0 deletions
6
wscript
6
wscript
|
@ -3,9 +3,11 @@ import json, os, shutil
|
||||||
|
|
||||||
DIR = os.getcwd()
|
DIR = os.getcwd()
|
||||||
|
|
||||||
|
|
||||||
def _get_json(path):
|
def _get_json(path):
|
||||||
return json.load(open(DIR + path))
|
return json.load(open(DIR + path))
|
||||||
|
|
||||||
|
|
||||||
def update_and_upgrade():
|
def update_and_upgrade():
|
||||||
os.system('apt-get update -y')
|
os.system('apt-get update -y')
|
||||||
os.system('apt-get upgrade -y')
|
os.system('apt-get upgrade -y')
|
||||||
|
@ -45,6 +47,10 @@ def install_atom_packages():
|
||||||
os.system("apm install {}".format(packages))
|
os.system("apm install {}".format(packages))
|
||||||
|
|
||||||
|
|
||||||
|
def export_atom_config():
|
||||||
|
os.system("cp -R atom/* ~/.atom/")
|
||||||
|
|
||||||
|
|
||||||
def install_configs():
|
def install_configs():
|
||||||
shutil.copyfile(DIR + "/config/terminator.conf", "~/.config/terminator/config")
|
shutil.copyfile(DIR + "/config/terminator.conf", "~/.config/terminator/config")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue