- Clone this repository
git clone git@github.com:tiesen243/dotfiles.git ~/dotfiles
- Install
yay
pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git ~/yay
cd ~/yay
makepkg -si
rm -rf ~/yay
- Install all dependences
sudo pacman -S zsh swayidle hyprpaper p7zip wofi pavucontrol gvfs brightnessctl playerctl fastfetch btop cliphist wl-clipboard xfce4-settings grim slurp lsd cowsay
sudo yay -S swaylock-effects lazygit floorp-bin wlogout hyprpicker nwg-look yazi
- If Japanese/Chinese/Korean font not display correctly
sudo pacman -S noto-fonts noto-fonts-cjk noto-fonts-emoji
- Install
oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Then, install zsh plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- Optional: Install
miniconda3
for python andnvm
for nodejs development environment
mkdir -p ~/.miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/.miniconda3/miniconda.sh
bash ~/.miniconda3/miniconda.sh -b -u -p ~/.miniconda3
rm -rf ~/.miniconda3/miniconda.sh
~/.miniconda3/bin/conda init zsh
yay -S nvm
- Change the content of
~/.config/hypr/hyprland.conf
to
source = ~/dotfiles/hypr/hyprland.conf
- Copy folder
~/dotfiles/zsh/theme
to~/.oh-my-zsh/custom/themes
cp -r ~/dotfiles/zsh/theme/* ~/.oh-my-zsh/custom/themes
Then, change the content of ~/.zshrc
to
source ~/dotfiles/zsh/config.zsh
- Copy
yazi
config to~/.config/yazi
cp -r ~/dotfiles/yazi/* ~/.config/yazi
- Change Themes
cp -r ~/dotfiles/.fonts ~/
cp -r ~/dotfiles/.icons ~/
cp -r ~/dotfiles/.themes ~/
Then, you can change the themes by nwg-look
command
- Change Wallpaper in
~/dotfiles/hypr/hyprpaper.conf
preload = ~/path/to/wallpaper
wallpaper = ,~/path/to/wallpaper
Or change file in ~/dotfiles/assets/background.png
- If you use
obs-studio
, you can installwlrobs
dependency for screen recording
sudo pacman -S obs-studio
yay -S wlrobs
- If you use
nvm
,miniconda
,bun
, add this line to~/.zshrc
# >>> nvm initialize >>>
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# >>> nvm initialize >>>
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/tiesen/.miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/tiesen/.miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/tiesen/.miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/tiesen/.miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
# >>> bun initialize >>>
export BUN_PATH="$HOME/.bun"
export PATH="$BUN_PATH/bin:$PATH"
# <<< bun initialize <<<
Documentations: here
Optional: You can try my neovim config at here