Crates.io | stow-squid |
lib.rs | stow-squid |
version | 0.1.1 |
source | src |
created_at | 2021-09-11 05:16:06.638009 |
updated_at | 2021-09-11 05:16:06.638009 |
description | Stow your dotfiles |
homepage | https://github.com/JakeRoggenbuck/stow-squid |
repository | https://github.com/JakeRoggenbuck/stow-squid |
max_upload_size | |
id | 449624 |
size | 19,111 |
Stow your dotfiles
git clone https://github.com/JakeRoggenbuck/stow-squid.git
cargo install --path .
# Add config to ~/.config/stow-squid/stow-squid.toml
mkdir -p ~/.config/stow-squid/ && cp example-config.toml ~/.config/stow-squid/stow-squid.toml
For all verbs, the name is of a specific dotfile and is optional. Including a name will only run the verb on that dotfile. Without a name, it will run the verb on all the dots in the config.
This is to update your dotfiles (that are scattered around your machine) to your git repo
stow-squid save <name>
This is to place all your dotfiles from your git repo to all the various places they might go
stow-squid deploy <name>
stow-squid list
# Structure
# [[files]]
# name = "dotfile-name"
# origin = "path/to/file/from/git/repo"
# deployed = "/path/to/where/the/file/is/placed"
# Example
# [[files]]
# name = "bspwm"
# origin = "/home/jake/Build/dotfiles/bspwm/bspwmrc"
# deployed = "/home/jake/.config/bspwm/bspwmrc"
# Add you first dotfile here
[[files]]
name = ""
origin = ""
deployed = ""
[[files]]
name = "bspwm"
origin = "/home/jake/Build/dotfiles/bspwm/bspwmrc"
deployed = "/home/jake/.config/bspwm/bspwmrc"
[[files]]
name = "alacritty"
origin = "/home/jake/Build/dotfiles/alacritty/alacritty.yml"
deployed = "/home/jake/.config/alacritty/alacritty.yml"
[[files]]
name = "bashrc"
origin = "/home/jake/Build/dotfiles/.bashrc"
deployed = "/home/jake/.bashrc"
[[files]]
name = "sxhkd"
origin = "/home/jake/Build/dotfiles/sxhkd/sxhkdrc"
deployed = "/home/jake/.config/sxhkd/sxhkdrc"
USAGE:
drop <verb> [dot]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<verb>
<dot>