diff options
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | .gitmodules | 18 | ||||
| -rw-r--r-- | LICENSE | 21 | ||||
| -rw-r--r-- | README.md | 24 | ||||
| -rw-r--r-- | alacritty/.config/alacritty/alacritty.yml | 9 | ||||
| m--------- | alacritty/.config/alacritty/dracula-alacritty | 0 | ||||
| m--------- | alacritty/.config/alacritty/nord-alacritty | 0 | ||||
| -rw-r--r-- | git/.gitconfig | 3 | ||||
| -rw-r--r-- | nvim/.config/nvim/init.vim | 23 | ||||
| l--------- | nvim/.local/share/nvim/site/autoload/plug.vim | 1 | ||||
| m--------- | nvim/.local/share/nvim/site/autoload/vim-plug | 0 | ||||
| l--------- | shells/.bash_profile | 1 | ||||
| -rw-r--r-- | shells/.bashrc | 25 | ||||
| m--------- | shells/.local/share/zsh/fast-syntax-highlighting | 0 | ||||
| -rw-r--r-- | shells/.profile | 5 | ||||
| l--------- | shells/.zshenv | 1 | ||||
| -rw-r--r-- | shells/.zshrc | 35 | ||||
| -rw-r--r-- | starship/.config/starship.toml | 13 | ||||
| l--------- | tilix/.config/tilix/schemes/Dracula.json | 1 | ||||
| m--------- | tilix/.config/tilix/schemes/dracula-tilix | 0 | ||||
| m--------- | tilix/.config/tilix/schemes/nord-tilix | 0 | ||||
| l--------- | tilix/.config/tilix/schemes/nord.json | 1 |
22 files changed, 184 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3a2247a --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +nvim/.config/nvim/plugged +nvim/.local/share/nvim/shada +nvim/.local/share/nvim/swap diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..15410fb --- /dev/null +++ b/.gitmodules @@ -0,0 +1,18 @@ +[submodule "nvim/.local/share/nvim/site/autoload/vim-plug"] + path = nvim/.local/share/nvim/site/autoload/vim-plug + url = https://github.com/junegunn/vim-plug.git +[submodule "alacritty/.config/alacritty/nord-alacritty"] + path = alacritty/.config/alacritty/nord-alacritty + url = https://github.com/arcticicestudio/nord-alacritty.git +[submodule "alacritty/.config/alacritty/dracula-alacritty"] + path = alacritty/.config/alacritty/dracula-alacritty + url = https://github.com/dracula/alacritty.git +[submodule "tilix/.config/tilix/schemes/nord-tilix"] + path = tilix/.config/tilix/schemes/nord-tilix + url = https://github.com/arcticicestudio/nord-tilix.git +[submodule "tilix/.config/tilix/schemes/dracula-tilix"] + path = tilix/.config/tilix/schemes/dracula-tilix + url = https://github.com/dracula/tilix.git +[submodule "shells/.local/share/zsh/fast-syntax-highlighting"] + path = shells/.local/share/zsh/fast-syntax-highlighting + url = https://github.com/zdharma/fast-syntax-highlighting.git @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Seth Flynn + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..afa62d1 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# dotfiles + +## how to install + +1. install `stow` with your package manager: +``` +sudo apt install stow +``` +``` +sudo dnf install stow +``` +``` +sudo pacman -S stow +``` + +2. get submodules: +``` +git submodule update --init --remote --recursive +``` + +3. run stow: +``` +stow -t ~ */ +``` diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..b16a5a6 --- /dev/null +++ b/alacritty/.config/alacritty/alacritty.yml @@ -0,0 +1,9 @@ +font: + normal: + family: Hack Nerd Font + style: Regular + size: 12 + + +import: + - /home/seth/.config/alacritty/dracula-alacritty/dracula.yml diff --git a/alacritty/.config/alacritty/dracula-alacritty b/alacritty/.config/alacritty/dracula-alacritty new file mode 160000 +Subproject 50afeef999f5e97543f91015ae8fb941996c326 diff --git a/alacritty/.config/alacritty/nord-alacritty b/alacritty/.config/alacritty/nord-alacritty new file mode 160000 +Subproject 940c88a6e424ca3c7b62c8e7acc6b389f70a1b6 diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..d26843f --- /dev/null +++ b/git/.gitconfig @@ -0,0 +1,3 @@ +[user] + email = [email protected] + name = Seth Flynn diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim new file mode 100644 index 0000000..65b4cae --- /dev/null +++ b/nvim/.config/nvim/init.vim @@ -0,0 +1,23 @@ +" +" g3tchoo's neovim config +" + +" plugins +call plug#begin() + +Plug 'itchyny/lightline.vim' +Plug 'arcticicestudio/nord-vim' +Plug 'dracula/vim', { 'as': 'dracula' } +Plug 'preservim/nerdtree' +Plug 'sheerun/vim-polyglot' + +call plug#end() + +" settings +colorscheme dracula +set termguicolors +let g:lightline = { + \ 'colorscheme': 'dracula', + \ } +syntax on +filetype plugin indent on diff --git a/nvim/.local/share/nvim/site/autoload/plug.vim b/nvim/.local/share/nvim/site/autoload/plug.vim new file mode 120000 index 0000000..df1d6fd --- /dev/null +++ b/nvim/.local/share/nvim/site/autoload/plug.vim @@ -0,0 +1 @@ +vim-plug/plug.vim
\ No newline at end of file diff --git a/nvim/.local/share/nvim/site/autoload/vim-plug b/nvim/.local/share/nvim/site/autoload/vim-plug new file mode 160000 +Subproject fc2813ef4484c7a5c080021ceaa6d1f70390d92 diff --git a/shells/.bash_profile b/shells/.bash_profile new file mode 120000 index 0000000..aa7da3a --- /dev/null +++ b/shells/.bash_profile @@ -0,0 +1 @@ +.profile
\ No newline at end of file diff --git a/shells/.bashrc b/shells/.bashrc new file mode 100644 index 0000000..7c0c1e9 --- /dev/null +++ b/shells/.bashrc @@ -0,0 +1,25 @@ +# +# g3tchoo's bashrc +# + +# set prompt +export PS1="\[\e[36m\][\[\e[m\]\[\e[33m\]\u\[\e[m\]@\[\e[35m\]\h\[\e[m\] \\$ \[\e[37m\]\w\[\e[m\]\[\e[36m\]]\[\e[m\] " + +# options +shopt -s autocd +shopt -s dotglob +shopt -s histappend +set -o emacs + +# defaults +export EDITOR='nvim' +export VISUAL='nvim' +export TERM=xterm-256color + +# alias +alias vim='nvim' +alias ls='exa' + +# Use bash-completion, if available +[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \ + . /usr/share/bash-completion/bash_completion diff --git a/shells/.local/share/zsh/fast-syntax-highlighting b/shells/.local/share/zsh/fast-syntax-highlighting new file mode 160000 +Subproject 817916dfa907d179f0d46d8de355e883cf67bd9 diff --git a/shells/.profile b/shells/.profile new file mode 100644 index 0000000..e297b42 --- /dev/null +++ b/shells/.profile @@ -0,0 +1,5 @@ +# add user's bin directory to path +if [ -d $HOME/.local/bin ] +then + export PATH=$HOME/.local/bin:$PATH +fi diff --git a/shells/.zshenv b/shells/.zshenv new file mode 120000 index 0000000..aa7da3a --- /dev/null +++ b/shells/.zshenv @@ -0,0 +1 @@ +.profile
\ No newline at end of file diff --git a/shells/.zshrc b/shells/.zshrc new file mode 100644 index 0000000..6d93adf --- /dev/null +++ b/shells/.zshrc @@ -0,0 +1,35 @@ +# +# g3tchoo's zshrc +# + +# completion +autoload -U compinit +zmodload zsh/complist +zstyle ':completion:*' menu select +compinit + +# options +setopt autocd +setopt appendhistory +setopt sharehistory +setopt incappendhistory +set -o emacs + +# enable history +HISTFILE="$HOME/.cache/zsh/history" +HISTSIZE=100 +SAVEHIST=1000 + +# defaults +export EDITOR='nvim' +export VISUAL='nvim' +export TERM=xterm-256color + +# alias +alias vim='nvim' +alias ls='exa' +alias la='ls -a' +alias g='git' + +source $HOME/.local/share/zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh +eval "$(starship init zsh)" diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml new file mode 100644 index 0000000..f522ffe --- /dev/null +++ b/starship/.config/starship.toml @@ -0,0 +1,13 @@ +add_newline = false + +[directory] +format = "in [$path]($style)[$read_only]($read_only_style) " + +[hostname] +ssh_only = false +format = "@[$hostname](bold purple) " + +[username] +show_always = true +format = "[$user]($style)" + diff --git a/tilix/.config/tilix/schemes/Dracula.json b/tilix/.config/tilix/schemes/Dracula.json new file mode 120000 index 0000000..526b0fc --- /dev/null +++ b/tilix/.config/tilix/schemes/Dracula.json @@ -0,0 +1 @@ +dracula-tilix/Dracula.json
\ No newline at end of file diff --git a/tilix/.config/tilix/schemes/dracula-tilix b/tilix/.config/tilix/schemes/dracula-tilix new file mode 160000 +Subproject 9d8b8258c0be0c4e6a9c95055dda023d94574da diff --git a/tilix/.config/tilix/schemes/nord-tilix b/tilix/.config/tilix/schemes/nord-tilix new file mode 160000 +Subproject ce9c46ecd3d7b0d49d6cb4b99e092f7df6b9a48 diff --git a/tilix/.config/tilix/schemes/nord.json b/tilix/.config/tilix/schemes/nord.json new file mode 120000 index 0000000..ad39018 --- /dev/null +++ b/tilix/.config/tilix/schemes/nord.json @@ -0,0 +1 @@ +nord-tilix/src/json/nord.json
\ No newline at end of file |
