/dotfiles

Configuration files from my Linux system

Primary LanguageShell

Kozalo's Dotfiles

Screenshot

A bundle of my configuration files (built based on several configs from the Internet) on such the system:

GNU/Linux distribution Debian 9
Window manager i3
Theme Arc-Dark [GTK2/3]
Icons Moka [GTK2/3]
Text editor vim
Shell zsh (oh-my-zsh)

There are additional configuration files for:

  • tmux;
  • Sublime Text 3.

See also a configuration file for cVim.

How to apply the configuration

You can use the KozConfigurator script to install all essential software and apply basic tweaks. Another option is to use an Ansible playbook.

Unfortunately, git doesn't allow us to clone the repository into a non-empty directory. There are at least 2 options how to circumvent this.

The first one is to initialize a new empty repository, pull all files from the remote repo, and clone submodules then:

git init
# We have to delete some files to avoid conflicts
rm .bashrc .zshrc .gtkrc-2.0 .config/gtk-3.0/settings.ini
git pull https://github.com/kozalosev/dotfiles
git submodule update --init

The second option is to create a temporary directory, clone the remote repo there, and move all the files to the home directory:

mkdir ~/tmp
git clone --recursive https://github.com/kozalosev/dotfiles ~/tmp
mv ~/tmp/.git ~/
# Note that this command may overwrite your files!
git reset --hard
mv ~{/tmp,}/.vim/bundle/Vundle.vim
mv ~{/tmp,}/.oh-my-zsh/custom/plugins/zsh-autosuggestions
mv ~{/tmp,}/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
rm -rf ~/tmp

The last thing you need to do is to execute the :PluginInstall command in Vim.

If you don't need the whole content of the repository, you're able to take only some of the configuration files and install only software by your choice.

Notes

  • If you're going to use this configuration on a laptop, install the xbacklight package to manage the backlight pressing special keys on the keyboard.
  • The avatar and background images are owned by NEKO WORKs.