- Terminal: Kitty
- Shell: Zsh
- Text Editor: Neovim & VS Code
- File Manager: Thunar
- Browser: Brave
- Office: OnlyOffice
- Music Player: Spotify
- Image Viewer: Viewnior
- Video Viewer: Mpv
- Kdeconnect
- ...
Note: thêm mirror vào /etc/pacman.d/mirrorlist
Server = http://mirror.bizflycloud.vn/archlinux/$repo/os/$arch
sudo pacman -Syyy
sudo pacman -S git
sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
yay -Syyy
yay -S brave-bin visual-studio-code-bin onlyoffice-bin ibus-bamboo-git yarn postman-bin
sudo pacman -S thunar gvfs tumbler kitty neofetch feh lxappearance-gtk3 iwd dhcpcd \
viewnior mpv fzf neovim xcape xclip nodejs npm htop kdeconnect network-manager-applet \
simplescreenrecorder pacman-contrib ibus-pinyin zsh bat exa dunst ranger zip \
pulseaudio-alsa pavucontrol playerctl brightnessctl openssh python-pip docker scrot \
pulseaudio -D
sudo pip install psutil
sudo pip install pillow
sudo pip install dbus-next
Note: thêm ssh-key vào Github
ssh-keygen
cd ~/.ssh
cat id_rsa.pubcopy và dán vào Github
git clone [email protected]:lqtoan/dotfiles.git
mv ~/dotfiles ~/.dotfiles
rm -R ~/.config/qtile
ln -sf ~/.dotfiles/.config/qtile ~/.config/qtile
ln -sf ~/.dotfiles/.xprofile ~/.xprofile
rm -R ~/.config/kitty
ln -sf ~/.dotfiles/.config/kitty ~/.config/kitty
rm -R ~/.config/neofetch
ln -sf ~/.dotfiles/.config/neofetch ~/.config/neofetch
rm -R ~/.config/dunst
ln -sf ~/.dotfiles/.config/dunst ~/.config/dunst
rm -R ~/.config/ranger
ln -sf ~/.dotfiles/.config/ranger ~/.config/ranger
ln -sf ~/.dotfiles/Pictures/Wallpapers ~/Pictures/Wallpapers
rm -R ~/.config/feh
ln -sf ~/.dotfiles/.config/feh ~/.config/feh
rm -R ~/.fonts
ln -sf ~/.dotfiles/.fonts ~/.fonts
fc-cache -fv
mkdir ~/.themes
mkdir ~/.icons
ln -sf ~/.dotfiles/.themes/dark ~/.themes/dark
ln -sf ~/.dotfiles/.icons/dark ~/.icons/dark
Note: dùng lxappearance để cài đặt font, theme, icon,...
Note:
chsh -s /bin/zsh
sudo systemctl restart sddm
sudo nvim /etc/zsh/zshenvexport ZDOTDIR="$HOME/.config/zsh"
ln -sf ~/.dotfiles/.config/zsh ~/.config/zsh
Note: tắt terminal, mở lại
cd ~/.config/zsh/
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Note: tắt terminal, mở lại
git clone --depth 1 https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone --depth 1 https://github.com/zsh-users/zsh-completions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-completions
sudo npm install -g neovim
sudo pip install pynvim
rm -R ~/.config/nvim
ln -sf ~/.dotfiles/.config/nvim ~/.config/nvim
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
Note: cài các plugin
nvim
:PlugInstall
sudo pacman -S docker docker-compose
sudo systemctl start docker.service
sudo systemctl enable docker.service
ng --version
sudo npm install -g npm
sudo npm update -g npm
sudo npm install -g nodemon
sudo npm install -g sass
sudo npm install -g firebase-tools
sudo npm install -g @angular/cli@
ng --version
sudo pacman -S postgresql
sudo systemctl enable postgresql
sudo systemctl start postgresql
postgres --version
sudo pacman -S mariadb
sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
sudo systemctl enable mariadb
sudo systemctl start mariadb
mysql --version
sudo mysql -u root
use mysql;
set password for 'root'@'localhost' = password('YOUR_ROOT_PASSWORD_HERE');
flush privileges;
quit
Make pacman more fun
sudo nvim /etc/pacman.conf
Color
ILoveCandy
#2E3440,#2C3849,#5E81AC,#D8DEE9,#3B4252,#D8DEE9,#A3BE8C,#8FBCBB,#2E3440,#D8DEE9