Skip to content

lqtoan/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Arch linux & Qtile window manager

Applications

  • 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
  • ...

Installations

Note: thêm mirror vào /etc/pacman.d/mirrorlist

Server = http://mirror.bizflycloud.vn/archlinux/$repo/os/$arch

Install AUR Helper

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

Install somethings

yay -Syyy
yay -S brave-bin visual-studio-code-bin onlyoffice-bin ibus-bamboo-git yarn postman-bin

... and somethings

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.pub

copy và dán vào Github

Clone dotfiles

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/zshenv

export 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

Neovim

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

Develop

Docker

sudo pacman -S docker docker-compose
sudo systemctl start docker.service                
sudo systemctl enable docker.service
ng --version

JavaScript

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

Angular

sudo npm install -g @angular/cli@
ng --version

PostgreSQL

sudo pacman -S postgresql
sudo systemctl enable postgresql
sudo systemctl start postgresql
postgres --version

MariaDB

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

Slack

#2E3440,#2C3849,#5E81AC,#D8DEE9,#3B4252,#D8DEE9,#A3BE8C,#8FBCBB,#2E3440,#D8DEE9

Gallery

21-10-06-221134_screenshot
21-10-06-221155_screenshot
21-10-06-221149_screenshot
21-10-06-221200_screenshot
21-10-06-223450_screenshot

About

My Arch linux with Qtile window manager!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published