Code changes and improvements

Split install.py into several files
Part of code for creating a directory from copy_files was removed due to the availability of such a function in standard Python libraries
Tried to make theme installation process less dependent on the project root folder
This commit is contained in:
Vladyslav Hroshev
2023-12-09 16:37:55 +02:00
parent f825c4638e
commit c02ead2fff
4 changed files with 326 additions and 247 deletions

12
scripts/config.py Normal file
View File

@@ -0,0 +1,12 @@
# folder definitions
temp_folder = ".temp"
gnome_folder = "gnome-shell"
temp_gnome_folder = f"{temp_folder}/{gnome_folder}"
tweaks_folder = "tweaks"
themes_folder = "~/.themes"
raw_theme_folder = "theme"
scripts_folder = "scripts"
# files definitions
gnome_shell_css = f"{temp_gnome_folder}/gnome-shell.css"
colors_json = "colors.json"