Files
dotfiles/install.py
Krzosa Karol e431739a9b Init repo
2025-12-31 09:07:18 +01:00

9 lines
338 B
Python

import update, shutil, json
if __name__ == "__main__":
config = json.loads(update.read_file("config.json"))
away_subl_user = config["sublime_text"] + "/Packages/User"
here_subl_user = "sublime_text"
for here in os.listdir(here_subl_user):
shutil.copyfile(here_subl_user + "/" + here, away_subl_user + "/" + here)