Git Product home page Git Product logo

dotfiles's Introduction

DOTFILES

My "opinionated" dotfiles setUp, that can be run with docker or not, and allows me to get my dev stack ready in less than 5mins with a single command line.

demo

FEATURES

Not features, but most likely, what's inside :

  • alacritty (GPU terminal's conf)
  • yazi (File browser conf on terminal just like ranger)
  • polybar (Status bar's app config)
  • i3 (WM conf)
  • mpv (Video player for my local files or youtube)
  • gh-dash (github dashboard for quick overview on my PR/issues (day-job or side-projects))
  • nvim (My PDE conf for coding )
  • rofi (app/windows/workspace switcher conf)
  • tmux (my multiplexer terminal)
  • vagrant (for my vms on term[ubuntu, macOs, window...])
  • Some interesting aliases/functions inside .bash_aliases to install/run/use my devs stuffs really quickly and interactivelly

REQUIREMENTS

  • docker (If you're planing to run it with docker)
  • make
  • git

NB: This setUp can be done without docker but it will required not use the defaults make target to set it up (and can become a little hard to maintain)

HOW TO GET IT RUN

# Clone and go inside the directory
$ git clone https://github.com/Sanix-Darker/dotfiles && cd dotfiles
# Under docker
$ make
# No docker
$ cp $HOME/.bashrc ~/.bashrc_bk   # put the current bashrc into backup
$ cp .bashrc .bash_aliases $HOME/ # copy all bash scripts and aliases to $HOME
$ _set_dot_files && _install_dev_stack

# This will build the docker image, run it and exec into it !
# you can then get out and make start/stop to get it run
## OR quickly :
$ curl -Ls https://raw.githubusercontent.com/Sanix-Darker/dotfiles/master/quick.sh | bash

For all the make target command :

$ make help
build-cache                     build the dev-container
build                           build the dev-container and skip the cache
run                             run the dev-container
exec                            exec inside an allready build and running dev-container
start                           start an already built dev-container
stop                            stop the running dev-container
go                              build, run and exec the container
build-base                      build-base the dev-container and skip the cache
run-base                        run-base the dev-container
exec-base                       exec-base inside an allready build and running dev-container
help                            print this help
pull-base                       pull the image from docker hub.
push-base                       push the image to docker hub.

After inside the container, you can run :

# To well start
$ _install_dev_stack
## An interactive installer will start with all your options
## Either you activate them or not

$ _set_dot_files
## this will just set a bunch of configuration files

NOTE: you should have a $home/code directory locally, since it will be the volume shared between the container and your computer

dotfiles's People

Contributors

sanix-darker avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

hollisticgit

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.