- Emacs Lisp 60.7%
- Perl 19.9%
- Shell 13.1%
- Lua 5.7%
- Vim Snippet 0.3%
- Other 0.3%
| alias | ||
| assets | ||
| dunst/.config/dunst | ||
| emacs | ||
| gf2/.config | ||
| git | ||
| gtk-3.0/.config/gtk-3.0 | ||
| i3/.config/i3 | ||
| kitty/.config/kitty | ||
| mbsync | ||
| minimal-emacs | ||
| notmuch | ||
| nvim/.config/nvim | ||
| packages | ||
| path | ||
| prompt | ||
| rofi/.config/rofi | ||
| scripts/bin | ||
| sxhkd/.config/sxhkd | ||
| systemd/.config/systemd/user | ||
| tig | ||
| tmux | ||
| vim | ||
| xinit | ||
| xmodmap | ||
| zsh | ||
| .gitignore | ||
| INSTALL.org | ||
| README.org | ||
my dotfiles
Initial setup
private env
I use a ~/.private file that I never commit and that contains some private bash env variables I want to source. My zshrc source a file ~/.private so I create an empty one to avoid error.
touch ~/.private
zsh
Switch from bash to zsh
chsh -s $(which zsh)
Install packages
YAY
Install `yay` the AUR package manager for arch, it automatically fallbacks to pacman when the target package is not an AUR package and it has the same CLI interface.
bash ~/dotfiles/packages/install-yay.sh
Packages
I try to maintain a list of all the packages that I'm using, even if I need to clean it up. I get the list of packages I installed explicitely with
pacman -Qeq > packages.list
Install all the packages from the list:
bash ~/dotfiles/packages/install-packages.sh
git clone git@github.com:flocks/st.git
cd st
make
sudo make install
I prefer to compile emacs myself, so I can use any configuration flag I may want. So far I'm only using –with-native-compilation, –with-tree-sitter, –with-json
We first need to install tree-sitter:
git clone https://github.com/tree-sitter/tree-sitter.git
cd tree-sitter
make
sudo make install
Tree-sitter needs some grammars files
git clone https://github.com/casouri/tree-sitter-module
cd tree-sitter-module
./batch.sh
bash ~/dotfiles/packages/install-emacs.sh
Config files
stow scripts
stow i3
stow git
stow emacs
stow nvim
stow sxhkd
stow kitty
stow polybar
stow system
stow notmuch
stow --dotfiles tig
stow --dotfiles tmux
stow --dotfiles mbsync
stow --dotfiles prompt
stow --dotfiles path
stow --dotfiles xinit
stow --dotfiles xmodmap
stow --dotfiles zsh
Enable systemd services
systemctl enable --user mbsync.timer
systemctl enable --user mbsync.service
systemctl start --user mbsync.timer
TODO
clean and add vim config