Skip to content

Latest commit

 

History

History
114 lines (76 loc) · 3.12 KB

README.md

File metadata and controls

114 lines (76 loc) · 3.12 KB

dotfiles

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 stow

At 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 scripts

If this repo is located somewhere else, pass the destination directory explicitly, for example:

stow -t $HOME vim

fish

I 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:

vim

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 install-vim-plugins. This script itself contains the list of plugins to be installed:

~/bin/install-vim-plugins

Update vim plugins with update-vim-plugins.

dwm

For dwm, install its dependencies and other useful tools:

sudo apt install suckless-tools sxhkd rofi dunst pcmanfm i3lock compton wmctrl pavucontrol pasystray scrot copyq

suckless-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.git

Install configs:

stow -vv scripts sxhkd dunst st dwm

Build dwm:

cd ~/repos/dwm/
sudo make clean install

bspwm (outdated)

Install dependencies (probably this list is not complete):

sudo apt install libxcb-xinerama0-dev libxcb-icccm4-dev libxcb-ewmh-dev

Clone 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.git

and install from source (make && sudo make install).

stow -vv scripts sxhkd dunst bspwm

Not used anymore (and probably outdated)

alacritty, byobu, qtile