stow-squid

Crates.iostow-squid
lib.rsstow-squid
version0.1.1
sourcesrc
created_at2021-09-11 05:16:06.638009
updated_at2021-09-11 05:16:06.638009
descriptionStow your dotfiles
homepagehttps://github.com/JakeRoggenbuck/stow-squid
repositoryhttps://github.com/JakeRoggenbuck/stow-squid
max_upload_size
id449624
size19,111
Jake Roggenbuck (JakeRoggenbuck)

documentation

README

🦑 stow-squid

Stow your dotfiles

image

Install

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

Verbs

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.

Save

This is to update your dotfiles (that are scattered around your machine) to your git repo

stow-squid save <name>

image

image

Deploy

This is to place all your dotfiles from your git repo to all the various places they might go

stow-squid deploy <name>

image

image

List

stow-squid list

Config

# 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 = ""

Config Example

[[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"

Help

USAGE:
    drop <verb> [dot]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <verb>
    <dot>
Commit count: 80

cargo fmt