Giter Site home page Giter Site logo

sarrost / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 1.0 8.54 MB

The dotfiles for my GNU/Linux setup.

Shell 75.36% Vim Script 1.24% Vim Snippet 10.54% Lua 12.86%
rice zsh dotfiles vim compton tmux-configuration tmux-config zsh-configuration linux unix

dotfiles's Introduction

My Dotfiles

The configuration files for my GNU/Linux setup.

Desktop Preview

Usage

You have three options.

  1. Simply copy-pasta what you need from the relevant files
  2. [Recommended] Use the provided dot.sh script. (GNU Stow required)
  3. Install and use GNU Stow. The dot.sh is a wrapper script for stow.

Using dot.sh

The files in this repo are organized as such so as to make deployment convenient. Clone this repo to any directory with git-clone and enter the dotfiles directory within the repo:

git clone https://github.com/sarrost/dotfiles
cd dotfiles/dotfiles

Then run the following command:

./dot.sh <dir>

This will deploy the config files for application 'dir' by creating symlinks.

NOTE: Deleting the original file in the 'repo' directory will break the link between the file and symlink without destroying the deployed link. Basically, always delete both files when doing cleanup.

For a full list of options run:

./dot.sh -h

Which will print the following:

Usage:
  ./dot.sh [OPTIONS] dir
Options:
  -I,--install [program] --  install program
  -i,--deploy [program]  --  deploy dotfiles
  -r,--recall [program]  --  recall dotfiles
  -R,--uninstall [program]  -- uninstall program
  -s,--silent            --  silent output
  -v,--verbose           --  verbose output
  -h,--help              --  print this help message

  Option -i is assumed if no options are given.

  Prepend directory with 'sys-' (e.g. sys-portage) to
  deploy/recall system-wide (e.g. /etc/portage/).
  
  Need to run as root when using -I and -R. Running
  -i and -r as root deploys/recalls dotfiles to/from
  /root/. Recalling leaves behind empty folders.

Installing /uninstalling programs only works on gentoo at the moment. I plan to add support for FreeBSD in the future.

Contact

Feel free to contact me at [email protected] if you have any questions or something isn't working properly for you.

Also feel free to use the issues board if something is broken or confusing. Have a nice day :^)

dotfiles's People

Contributors

sarrost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

satrac

dotfiles's Issues

Cheers !!!

Just want to show my thanks for these wonderful arts ~~ Thanks for sharing~

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.