Giter Club home page Giter Club logo

dotfile's Introduction

This repository is a place to store my dotfiles, it's use to keep track of my configuration files and to make it easier to setup a new machine.

Pre-installation

First installx git and GNU Stow.

sudo pacman -S git
sudo pacman -S stow

Installation

Then clone the repository and run the install script.

git clone [email protected]:Rignchen/dotfiles.git ~ /dotfiles
cd ~/dotfiles
stow .

Dependencies

Some of the configs require some additional programs to work

Vim

The vim config file require the plugin manager Plug to be installed in order to install plugins

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

There's the fzf plugin for vim wich require the fzf program to be installed

sudo pacman -S fzf

Tmux

The tmux config file require the use of a plugin manager tpm

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

The tmux config is setup to force the use of zsh, that way I can set tmux as my default shell

sudo pacman -S zsh

Zsh

The zsh config file require you to install the plusin manager oh-my-zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Some of the plugins needs to be manualy downloaded

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting

Hyprland

Hyprland has a few dependencies, you need to install them

sudo pacman -S kitty nautilus fuzzrl firefox wlogout vim

Wlogout

Wlogout uses swaylock as the lockscreen, you need to install it

sudo pacman -S swaylock

Root access

If you have root access you may want to use the vim config when logged in as root
Be aware that any user with root access will then have the same vim config as you

sudo ln -s ~/.vimrc ~/.vim /root/

dotfile's People

Contributors

rignchen avatar

Watchers

 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.