Repository files navigation
Just my dotfiles and tools.
# Via SSH
git clone git@github.com:vnea/dotfiles.git ~ /dotfiles
# Or via HTTP
git clone https://github.com/vnea/dotfiles.git ~ /dotfiles
1. Bash aliases (Linux & Mac)
In your .bashrc or .zshrc, add:
# #############################
# Load aliases
# #############################
for f in $( find ~ /dotfiles/aliases -maxdepth 1 -name " *.sh" ) ; do source $f ; done
Then, reload the configuration:
# For Bash
source .bashrc
# For Zsh
source .zshrc
rm -rf ~ /.config/nvim && stow nvim
# For vim-sort-folds
pip install neovim
# Then enable undercurl: https://dev.to/anurag_pramanik/how-to-enable-undercurl-in-neovim-terminal-and-tmux-setup-guide-2ld7
tic -x ~ /dotfiles/terminal/xterm-256color.ti
# tmux
rm -rf ~ /.tmux.conf ~ /.config/tmux && stow tmux
# Install tmux plugins
git clone https://github.com/tmux-plugins/tpm ~ /.config/tmux/plugins/tpm
tmux
# Press "CTRL-Q then I", wait for installation and restart tmux
rm -f ~ /.gitconfig
git config --global user.name " User name"
git config --global user.email " email"
cat << EOT >> ~/.gitconfig
[include]
path = dotfiles/git/.gitconfig
EOT
# i3
rm -rf ~ /.config/i3 && stow i3
# picom
rm -rf ~ /.config/picom && stow picom
# light
sudo gpasswd -a $USER video
# Reboot computer
rm -rf ~ /.config/rofi/config.rasi && stow rofi
rm -rf ~ /.config/thefuck && stow thefuck
rm -rf ~ /.config/gtk-3.0 && stow gtk
rm -rf ~ /.config/dunst && stow dunst
10. Zsh + Oh My Zsh + Powerlevel10k (Linux & Mac)
rm -f ~ /.p10k.zsh && stow p10k
rm -f ~ /.zshrc && stow zsh
# Reboot the Terminal
11. Betterlockscreen (Linux)
betterlockscreen --update ~ /.config/i3/images/lockscreen.jpg --fx blur
Lockscreen after sleep/suspend
systemctl enable betterlockscreen@$USER
12. Alacritty (Linux & Mac)
~ /dotfiles/alacritty/.config/alacritty/scripts/toggle_theme.sh
rm -rf ~ /.config/alacritty && stow alacritty
# Restart alacritty
rm -rf ~ /.config/kitty && stow kitty
# Restart kitty
14. Flameshot (Linux & Mac)
rm -rf ~ /.config/flameshot/flameshot.ini && cp ~ /dotfiles/flameshot/.config/flameshot/flameshot.ini ~ /.config/flameshot
15. Systemd services & timers (Linux)
sudo ln -s ~ /dotfiles/systemd/user/notify-low-battery /usr/local/bin/notify-low-battery
ln -s ~ /dotfiles/systemd/user/notify-low-battery.service ~ /.config/systemd/user/notify-low-battery.service
ln -s ~ /dotfiles/systemd/user/notify-low-battery.timer ~ /.config/systemd/user/notify-low-battery.timer
systemctl --user daemon-reload
systemctl --user start notify-low-battery.service
systemctl --user enable notify-low-battery.timer
systemctl --user start notify-low-battery.timer
16. mise-en-place (Linux & Mac)
rm -rf ~ /.config/mise && stow mise
17. Lazydocker (Linux & Mac)
# Linux
rm -rf ~ /.config/lazydocker && stow lazydocker
# Mac OS
rm ~ /Library/Application\ Support/lazydocker/config.yml && ln -s ~ /dotfiles/lazydocker/.config/lazydocker/config.yml ~ /Library/Application\ Support/lazydocker/config.yml
18. Lazygit (Linux & Mac)
# Linux
rm -rf ~ /.config/lazygit && stow lazygit
# Mac OS
rm ~ /Library/Application\ Support/lazygit/config.yml && ln -s ~ /dotfiles/lazygit/.config/lazygit/config.yml ~ /Library/Application\ Support/lazygit/config.yml
rm -rf ~ /.config/aerospace && stow aerospace
rm -rf ~ /.config/karabiner && stow karabiner
# Linux
rm -rf ~ /.config/k9s && stow k9s
# Mac OS
rm -rf ~ /Library/Application\ Support/k9s && ln -s ~ /dotfiles/k9s/.config/k9s ~ /Library/Application\ Support/k9s
Steps to install scripts:
Open Raycast, search for Extensions, open it.
Click on the + button.
Click on Add Script Directory.
Select ~/dotfiles/raycast/scripts/.
About
Just my dotfiles and tools.
Topics
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.