@@ -16,10 +16,10 @@ top = false
1616
1717## Installation
1818
19- Toml Bombadil is a single rust binary. Currently, you can install it via [ cargo] ( https://doc.rust-lang.org/cargo/ ) ,
20- the rust package manager, or via the Arch User Repository if you use an Arch based distro.
19+ Toml Bombadil is a single rust binary. Currently, you can install it via [ cargo] ( https://doc.rust-lang.org/cargo/ ) ,
20+ the rust package manager, or via the Arch User Repository if you use an Arch based distro.
2121
22- ### Cargo
22+ ### Cargo
2323
2424``` bash
2525cargo install toml-bombadil
@@ -34,7 +34,7 @@ yay -S bombadil-bin
3434
3535### Setup
3636
37- If you already have some dotfiles on a git repository, no need to start from scratch :
37+ If you already have some dotfiles on a git repository, no need to start from scratch :
3838
3939``` bash
4040git clone https://github.com/my_org/dotfiles
@@ -55,12 +55,12 @@ For Bombadil to be able to run from any directory and use different config files
5555bombadil install -c my_dotfiles/bombadil.toml
5656```
5757
58- ⚠️ : Toml Bombadil will generate a copy of your dotfiles under ` .dots ` . If you use git to manage your dotfiles,
58+ ⚠️ : Toml Bombadil will generate a copy of your dotfiles under ` .dots ` . If you use git to manage your dotfiles,
5959you need to add ` .dots ` to your ` .gitignore ` .
6060
6161### Configuration
6262
63- Toml Bombadil obviously uses the toml configuration format. here is a sample configuration :
63+ Toml Bombadil obviously uses the toml configuration format. here is a sample configuration :
6464
6565``` toml
6666# {dotfiles}/bombadil.toml
@@ -70,31 +70,31 @@ dotfiles_dir = "my_dotfiles"
7070
7171[settings ]
7272# An array of toml files paths containing the variables to inject in your templatized dotfiles
73- # You can have multiple var files as long as variable names does not colide.
73+ # You can have multiple var files as long as variable names does not colide.
7474vars = [ " vars.toml" ]
7575
7676# An array of post install shell commands
77- hooks = [ " sway reload" ]
77+ posthooks = [ " sway reload" ]
7878
7979[settings .dots ]
8080
81- # A dot entry representing a symlink, `source` is relative to `dotfiles_dir`
81+ # A dot entry representing a symlink, `source` is relative to `dotfiles_dir`
8282# and `target` shall be relative to $HOME directory or absolute.
8383sway = { source = " sway" , target = " .config/sway" }
8484
8585# You can have as many dot entry as you want, linking files or directories
8686alacritty = { source = " alacritty" , target = " .config/alacritty/alacritty.yml" }
8787```
8888
89- Once you are satisfied with your config, you can install your dotfiles :
89+ Once you are satisfied with your config, you can install your dotfiles :
9090
9191``` bash
9292bombadil link
9393```
9494
9595### Clean up
9696
97- If you want to remove symlinks generated by Toml Bombadil run the following :
97+ If you want to remove symlinks generated by Toml Bombadil run the following :
9898``` bash
9999bombadil unlink
100100```
@@ -106,9 +106,9 @@ to their target locations. Instead, Toml Bombadil will create a copy of your dot
106106those copy.
107107
108108The idea behind this is to inject variables into your dotfiles and allow you to compose various themes and profiles.
109- Because of this, you will need to reload your dotfiles with ` bombadil link ` whenever you make change.
109+ Because of this, you will need to reload your dotfiles with ` bombadil link ` whenever you make change.
110110
111- A convenient way to work with Toml Bombadil would be to add a keyboard shortcut for ` bombadil link ` in your window manager.
111+ A convenient way to work with Toml Bombadil would be to add a keyboard shortcut for ` bombadil link ` in your window manager.
112112
113113### Going further
114114
0 commit comments