主题生成器
xtheme的Python项目详细描述
xtheme
为那些厌倦了编写大量配置文件的人提供的主题管理器。 灵感来自budRich/mondo。
安装
git clone https://github.com/rtnx/xtheme
cd xtheme
pip install --user .
主题
主题文件采用toml
格式。对他们没有要求,
它们是为您设置变量,稍后将在生成器中使用。
发电机
发电机包括:
- template.jinja2-使用来自主题的变量的配置文件模板。
- config.toml-配置文件。
- pre-apply.sh-应用主题前执行的脚本
- post-apply.sh-应用主题后执行的脚本。
配置.toml:
[config]name='i3'target='/home/rtgnx/.i3/config'# target file to which template is rendered