My vim, bash, fish, tmux, sxhkd, surfingkeys, Docker, KMonad config files and scripts for changing the keyboard layout. These files are organized in such a way that they can be installed with GNU Stow. Stow creates links to the dotfiles from this repo in $HOME (or its subfolders).
Notes to myself:
sudo apt-get install stow
# or
sudo pacman -S stowAt first, back up the original dotfiles. Then clone this repository into your home directory:
mkdir -p ~/.config/fish ~/.vim ~/bin
git clone https://github.com/MaxGyver83/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
stow -v fish bash tmux vim sxhkd surfingkeys kmonad editorconfig scriptsIf this repo is located somewhere else, pass the destination directory explicitly, for example:
stow -t $HOME vimI have configured fish to show Git repository information in the prompt. This prompt uses some Unicode characters that will be rendered wider than one terminal character when the font is set to Ubuntu Mono Regular (the default in Ubuntu 18.04). So change it to Monospace Regular, 14, for example (in your terminal application).
This fish setup will work best with these programs installed:
(The settings regarding these programs will be skipped if they are not installed.)
Also recommended:
- z (for fish) via fisher.
- bass via fisher.
I use vim8's integrated package manager. So some plugins need to be cloned into ~/.vim/pack/plugins/start/ or ~/.vim/pack/plugins/opt/.
Install plugins with vim-plugins:
~/bin/vim-plugins installThe list of plugins to be installed is read from ~/.vim/plugins and
~/.vim/plugins-home (or plugins-work if $MACHINE is set to work*).
Update vim plugins with vim-plugins update (or just vim-plugins without
argument).
For dwm, install its dependencies and other useful tools:
sudo apt install suckless-tools sxhkd rofi dunst pcmanfm i3lock compton wmctrl pavucontrol pasystray scrot copyqsuckless-tools includes dmenu. This can also be cloned and built from source.
Then clone my custom dwm repository:
cd ~/repos
git clone https://github.com/MaxGyver83/dwm.gitInstall configs:
stow -vv scripts sxhkd dunst st dwmBuild dwm:
cd ~/repos/dwm/
sudo make clean installInstall dependencies (probably this list is not complete):
sudo apt install libxcb-xinerama0-dev libxcb-icccm4-dev libxcb-ewmh-devClone these repos:
cd ~/repos
git clone https://github.com/baskerville/bspwm.git
git clone https://github.com/baskerville/xdo.git
git clone https://github.com/baskerville/xtitle.git
git clone https://github.com/LemonBoy/bar.git
git clone https://github.com/sargon/trayer-srg.gitand install from source (make && sudo make install).
stow -vv scripts sxhkd dunst bspwmalacritty, byobu, qtile