Giter Club home page Giter Club logo

mydotfiles's Introduction

MyDotFiles

My GNU/Linux main repository with:

  • Dot & configuration files for many different apps
  • Scripts for linking dotfiles, system installation and updating.

My terminal

N.B: This repo is frequently updated

Content

> tree -L 3 --dirsfirst

├── ag
│   └── agignore
├── bash
│   ├── functions
│   │   └── bash_example
│   ├── fzf
│   │   └── functions.sh
│   ├── bash_aliases
│   ├── bash_functions
│   ├── bash_profile
│   ├── bashrc
│   └── profile
├── cmus
│   ├── cmus-status-display
│   └── rc
├── ctags
│   └── ctags
├── dunst
│   └── dunstrc
├── git
│   ├── gitconfig
│   └── gitignore_global
├── i3
│   ├── blocklets
│   │   ├── cmus
│   │   ├── exit
│   │   ├── i3_restart
│   │   ├── layout
│   │   ├── menu
│   │   ├── time_and_date
│   │   ├── volume
│   │   └── weather
│   ├── scripts
│   │   ├── exit.sh
│   │   ├── helpers.sh
│   │   ├── ws_music_init.sh
│   │   └── ws_news_init.sh
│   ├── config
│   ├── i3bar_conkyrc
│   └── i3blocks.conf
├── install
│   ├── scripts
│   │   ├── arc.sh
│   │   ├── calibre.sh
│   │   ├── font.sh
│   │   ├── github_repos.sh
│   │   ├── i3.sh
│   │   ├── mineshafter.sh
│   │   ├── mkvtoolnix.sh
│   │   ├── nodejs.sh
│   │   ├── papirus.sh
│   │   ├── rvm.sh
│   │   └── topmenu.sh
│   ├── apt.json
│   ├── dotfiles.json
│   ├── packages.json
│   └── scripts.json
├── lyvi
│   └── lyvi.conf
├── mdl
│   └── mdlrc
├── quicktile
│   └── quicktile.cfg
├── scripts
│   ├── do.py
│   ├── install.py
│   ├── link.py
│   ├── update_github_scripts.sh
│   └── update.py
├── shiba
│   └── config.yml
├── tmux
│   ├── plugins
│   │   └── tpm
│   └── tmux.conf
├── tudu
│   └── tudurc
├── X
│   ├── xmodmaprc
│   └── Xresources
├── xfce
│   └── terminalrc
├── zathura
│   └── zathurarc
├── config.ini
└── README.md

Usage

What to install?

  • Define dotfiles to link & copy in install/dotfiles.json with the syntax:

    {
      "toLink": [
        "path/to/dotfile relative/path/to/link hidden=(True|False)",
      ],
      "toCopy": [
        "path/to/dotfile where/to/copy hidden=(True|False)",
      ]
    }
  • Define apt packages and ppa's in install/apt.json.

  • Put installation scripts in install/scripts/ and define them in install/scripts.json.

  • Define other packages in install/packages.json (gems, npm modules, pip packages & snap apps).

How to install, update & link?

scripts/do.py is the main script.

After cloning the repo the 1st time:

  1. Specify the configuration in config.ini
  2. Set the correct path in line 18 in scripts/do.py
  3. Execute scripts/do.py and have fun 😎

After linking the dotfiles, you can use Do alias to invoke do.py directly.

P.S:

  • The packages present in install/apt.json are intended to be used on Xubuntu16.
  • Be aware that config.ini is not used by the dotfiles, only by scripts/*.

TODO

  • Use a home-made sh/python framework to prevent code duplication.
  • Convert scripts/update_github_scripts.sh to python?
  • More refactoring
  • A better (python) logic

NOTES

Even if the repo is very personel, its quite easy to adapt it to other configurations.

mydotfiles's People

Contributors

kabbamine avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

sc0repi0

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.