Git Product home page Git Product logo

c0nfigure's Introduction

c0nfigure

c0nfigure.py is just another dotfile manager

with a simple yaml config, you can map your github dotfiles repo to the local config file paths using symlinks

c0nfig.conf example

github: "hansmartin/dotfiles"
install: "install.sh"
bash:
    - ["bashrc", "~/.bashrc"]
    - ["bash_aliases", "~/.bash_aliases"]
i3:
    - ["config", "~/.config/i3/config"]
    - ["i3blocks.conf", "~/.config/i3/i3blocks.conf"]

tmux:
    - ["tmux.conf", "~/.tmux.conf"]

vim:
    - ["vimrc", "~/.vimrc"]
    - ["autoload/plug.vim", "~/.vim/autoload/plug.vim"]

wallpaper:
    - ["mywallpaper.jpg", "~/Pictures/wallpaper.jpg"]

Global Variables

In the config are some "global" config variables, to adjust the tools settings

  • github
  • repo_dir
  • install

github sets the users github account (Format: username/repository)

repo_dir is a path to a local directory where the repo ist stored

install is a path (relative to the repository) of a shellscript that gets executed before symlinking

Config Path

The default config path is ~/.c0nfig.conf

Or can use your a config with the Parameter -c

Installation

Note: Its tested on python2.7 and no dependencies are required

git clone https://github.com/HansMartin/c0nfigure.git
cd c0nfigure
python c0nfigure.py


Usage: c0nfigure.py <option>

--init           	Use this on first run
--config <config>	Path to config file (=> default @ ~/.c0nfig.conf)
--link           	makes the symlink with given information
--push           	Updates the repository
--pull           	Refreshes the files (git pull)
--verbose, -v    	Some more output
--backup, -b     	Make backup of existing symlinks

c0nfigure's People

Contributors

hansmartin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.