Browse Source

Globalization

main
Yigit Colakoglu 4 years ago
parent
commit
22c8aa7455
11 changed files with 78 additions and 12 deletions
  1. +5
    -7
      README.md
  2. +0
    -1
      chroot/AUR.txt
  3. +1
    -0
      gtk/themes/themes
  4. +48
    -0
      install.sh
  5. +13
    -0
      misc/.fzf.zsh
  6. +1
    -0
      misc/neofetch/neofetch
  7. +1
    -0
      scripts/scripts
  8. +3
    -2
      suckless/build.sh
  9. +3
    -0
      tmux/tmux.conf
  10. +2
    -2
      vim/vim/plugin/plugins.vim
  11. +1
    -0
      vim/vim/vim

+ 5
- 7
README.md View File

@ -16,7 +16,11 @@ Welcome to my dungeon. Here, I keep all my configuration files in case I have a
## Installation ## Installation
Just run `git clone --recurse-submodules github.com/yigitcolakoglu/dotfiles.git ~/.dotfiles`. This will download everything you need. After that, I have a list of all the packages I have installed on my machine in the directory chroot/. If you have any problems regarding the setup, you should first check whether you have missing packages. After the clone process, it is pretty straightforward, you can run the `install.sh` script which creates necessary symlinks. Finally, DO NOT FORGET to run sudo make clean install in each directory under suckless, I also have a script named build.sh in that directory which does that automatically.
Just run
```sh
git clone --recurse-submodules https://github.com/theFr1nge/dotfiles.git ~/.dotfiles && ~/.dotfiles/install.sh
```
This will download everything you need. After that, I have a list of all the packages I have installed on my machine in the directory chroot/. If you have any problems regarding the setup, you should first check whether you have missing packages. After the clone process, it is pretty straightforward, you can run the `install.sh` script which creates necessary symlinks. Finally, DO NOT FORGET to run sudo make clean install in each directory under suckless, I also have a script named build.sh in that directory which does that automatically.
## Some eye candy ## Some eye candy
@ -26,9 +30,3 @@ Just run `git clone --recurse-submodules github.com/yigitcolakoglu/dotfiles.git
![Workspace 1](screenshots/w4.jpg) ![Workspace 1](screenshots/w4.jpg)
## TODOs
* Improve the go function written in surf
* Add the documentation for all the keybinds
* ~Improve the way indicators look~
* ~!!! High priority add an indicator for insert mode~

+ 0
- 1
chroot/AUR.txt View File

@ -6,7 +6,6 @@ betterdiscordctl-git
betterlockscreen betterlockscreen
bitwarden bitwarden
bitwarden-dmenu bitwarden-dmenu
canon-pixma-ts5055-complete
canto-next-git canto-next-git
capt-src capt-src
checkupdates+aur checkupdates+aur


+ 1
- 0
gtk/themes/themes View File

@ -0,0 +1 @@
/home/yigit/.dotfiles/gtk/themes

+ 48
- 0
install.sh View File

@ -1,5 +1,49 @@
#!/bin/bash #!/bin/bash
# Install packages
echo "Running update"
sudo pacman -Syu
sudo pacman --needed -S $(cat ~/.dotfiles/chroot/nonAUR.txt)
yay -S --needed $(cat ~/.dotfiles/chroot/AUR.txt)
# Initial cleanup
echo "Backing up your previous dotfiles to ~/.dotfiles_backup"
mkdir -p ~/.dotfiles_backup
mkdir -p ~/.config
mkdir -p ~/.dotfiles_backup/.config
rsync -avzh --ignore-errors \
~/.completions \
~/.aliases \
~/.cmds \
~/.zshrc \
~/.Xresources \
~/.xmodmap \
~/.xinitrc \
~/.tmux.conf \
~/.surf \
~/.scripts \
~/.keyboard \
~/.fzf.zsh \
~/.themes \
~/.vim \
~/.vimrc \
~/.dotfiles_backup
rsync -avzh --ignore-errors \
~/.config/htop \
~/.config/.profile \
~/.config/systemd \
~/.config/termite \
~/.config/zathura \
~/.config/dunst \
~/.config/gtk-4.0 \
~/.config/gtk-3.0 \
~/.config/gtk-2.0 \
~/.config/antibody \
~/.config/suckless \
~/.dotfiles_backup/.config
# Vim # Vim
ln -s ~/.dotfiles/vim/vimrc ~/.vimrc ln -s ~/.dotfiles/vim/vimrc ~/.vimrc
ln -s ~/.dotfiles/vim/vim ~/.vim ln -s ~/.dotfiles/vim/vim ~/.vim
@ -15,6 +59,7 @@ ln -s ~/.dotfiles/misc/dunst ~/.config/dunst
ln -s ~/.dotfiles/misc/zathura ~/.config/zathura ln -s ~/.dotfiles/misc/zathura ~/.config/zathura
ln -s ~/.dotfiles/misc/termite/ ~/.config/termite ln -s ~/.dotfiles/misc/termite/ ~/.config/termite
ln -s ~/.dotfiles/misc/systemd ~/.config/systemd ln -s ~/.dotfiles/misc/systemd ~/.config/systemd
ln -s ~/.dotfiles/misc/neofetch ~/.config/neofetch
ln -s ~/.dotfiles/misc/profile ~/.config/.profile ln -s ~/.dotfiles/misc/profile ~/.config/.profile
ln -s ~/.dotfiles/misc/htop ~/.config/htop ln -s ~/.dotfiles/misc/htop ~/.config/htop
ln -s ~/.dotfiles/misc/.fzf.zsh ~/.fzf.zsh ln -s ~/.dotfiles/misc/.fzf.zsh ~/.fzf.zsh
@ -45,3 +90,6 @@ ln -s ~/.dotfiles/zsh/cmds ~/.cmds
ln -s ~/.dotfiles/zsh/aliases ~/.aliases ln -s ~/.dotfiles/zsh/aliases ~/.aliases
ln -s ~/.dotfiles/zsh/completions ~/.completions ln -s ~/.dotfiles/zsh/completions ~/.completions
# Install vim and tmux plugins
mkdir -p ~/.tmux/plugins
vim -c ':PlugInstall'

+ 13
- 0
misc/.fzf.zsh View File

@ -0,0 +1,13 @@
# Setup fzf
# ---------
if [[ ! "$PATH" == */home/yigit/.fzf/bin* ]]; then
export PATH="${PATH:+${PATH}:}/home/yigit/.fzf/bin"
fi
# Auto-completion
# ---------------
[[ $- == *i* ]] && source "/home/yigit/.fzf/shell/completion.zsh" 2> /dev/null
# Key bindings
# ------------
source "/home/yigit/.fzf/shell/key-bindings.zsh"

+ 1
- 0
misc/neofetch/neofetch View File

@ -0,0 +1 @@
/home/yigit/.dotfiles/misc/neofetch

+ 1
- 0
scripts/scripts View File

@ -0,0 +1 @@
/home/yigit/.dotfiles/scripts

+ 3
- 2
suckless/build.sh View File

@ -3,12 +3,13 @@
for d in */ ; do for d in */ ; do
echo "Building in $d..." echo "Building in $d..."
cd $d cd $d
sudo make clean install
sudo make install
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "An error occured..." echo "An error occured..."
exit 1 exit 1
fi
cd .. cd ..
echo "Done..." echo "Done..."
done done
echo "All builds done, you might want to check whether any errors has occures
echo "All builds done, you might want to check whether any errors has occures"

+ 3
- 0
tmux/tmux.conf View File

@ -152,5 +152,8 @@ set -g @tmux_power_show_download_speed true
set -g @tmux_power_prefix_highlight_pos 'L' set -g @tmux_power_prefix_highlight_pos 'L'
set -g @tmux_power_show_web_reachable true set -g @tmux_power_show_web_reachable true
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'

+ 2
- 2
vim/vim/plugin/plugins.vim View File

@ -27,7 +27,7 @@ Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'sheerun/vim-polyglot' Plug 'sheerun/vim-polyglot'
Plug 'M4R7iNP/vim-inky' Plug 'M4R7iNP/vim-inky'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'ycm-core/YouCompleteMe'
Plug 'ycm-core/YouCompleteMe', { 'do': './install.py' }
Plug 'vim-scripts/indentpython.vim' Plug 'vim-scripts/indentpython.vim'
Plug 'frazrepo/vim-rainbow' Plug 'frazrepo/vim-rainbow'
Plug 'preservim/nerdcommenter' Plug 'preservim/nerdcommenter'
@ -37,7 +37,7 @@ Plug 'ryanoasis/vim-devicons'
Plug 'puremourning/vimspector' Plug 'puremourning/vimspector'
Plug 'lervag/vimtex' Plug 'lervag/vimtex'
Plug 'gi1242/vim-tex-autoclose' Plug 'gi1242/vim-tex-autoclose'
Plug 'ActivityWatch/aw-watcher-vim'
" Plug 'ActivityWatch/aw-watcher-vim'
Plug 'wakatime/vim-wakatime' Plug 'wakatime/vim-wakatime'
Plug 'gu-fan/riv.vim' Plug 'gu-fan/riv.vim'
Plug 'gu-fan/InstantRst' Plug 'gu-fan/InstantRst'


+ 1
- 0
vim/vim/vim View File

@ -0,0 +1 @@
/home/yigit/.dotfiles/vim/vim

Loading…
Cancel
Save