You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 months ago | |
---|---|---|
example | 3 months ago | |
LICENSE | 3 months ago | |
README.md | 3 months ago | |
apply_theme.py | 3 months ago |
README.md
oh nice theme now it's OURS
script to easily share configuration files
Install a theme
To install a theme, just run apply_theme.py
with python3 in the theme directory, then run exec bash
to restart your bash
Create a theme
- Create a theme directory with this structure:
theme_name/theme_descriptor.json
theme_name/(files)
where (files) are all the configuration files you wish to include in your theme.
- Edit theme_descriptor.json to tell the script and the user what to do
it should look like this (everything in caps should be replaced):
{
"name": "THEME NAME",
"author": "YOUR NAME",
"notes": "TEXT DISPLAYED TO THE USER BEFORE THEY INSTALL THE THEME",
"files": {
"FILENAME": {"dest": "DESTINATION PATH", "mode":"wRITE OR aPPEND"},
}
}
Here's an example
- That's it!