script to easily share configuration files
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.
 
 
LinuxPropaganda d76032ef61 Update 'README.md' 3 months ago
example Upload files to 'example' 3 months ago
LICENSE Initial commit 3 months ago
README.md Update 'README.md' 3 months ago
apply_theme.py Upload files to '' 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

  1. 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.

  1. 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

  1. That's it!