Manual Install
Create an EFI
, swap
, and root
partition. Mount the EFI
and root
partitions and enable the swap drive with swapon
.
Settings for archinstall
- Archinstall language: English
- Keyboard layout: us
- Mirror region: United States
- Locale language: en_US
- Locale encoding: UTF-8
- Drives: 8.0 GB
- Disk layout: Wipe all drives, ext4
- Encryption password: None
- Bootloader: grub-install
- Swap: True
- Hostname: linux-arch-i3wm
- Root password: arch
- User account: username:nathan | password:arch | sudo:true
- Profile: desktop, i3-gaps, VMware/VirtualBox
- Audio: pipewire
- Kernels: linux
- Additional packages: firefox, alacritty
- Network configuration: Copy ISO configuration
- Timezone: US/Central
- NTP: True
- Optional repositories: None
Settings for i3-gaps
Creating xinitrc config file:
cp /etc/X11/xinit/xinitrc ~/.xinitrc
- add
twm &
(newline)exec xrandr --output Virtual1 --mode 1920x1080 --rate 60
Editing startup procedure, adding bg manager and polybar
sudo pacman -S feh polybar
vim ~/.config/i3/config
- Add three lines:
exec_always --no-startup-id xrandr --output Virtual1 --mode 1920x1080 --rate 60
exec_always --no-startup-id feh --bg-scale ~/Downloads/file-name-background.jpg
exec_always --no-startup-id polybar
- Note: the
--no-startup-id
flag is used to prevent startup notification support which eliminates the loading cursor on the i3wm desktop.
- Note: the
- Add three more lines:
for_window [class=”.*”] border pixel 0
gaps inner 10
gaps outer 5
Editing default terminal https://wiki.archlinux.org/title/Alacritty:
sudo pacman -S alacritty
vim ~/.config/i3/config
- Change the terminal launch line to
bindsym $mod+Return exec alacritty
Installing picom https://wiki.archlinux.org/title/Picom:
sudo pacman -S picom
cp /etc/xdg/picom.conf ~/.config/picom/picom.conf
- Change
vsync = false;
andinactive-opacity = 0.80
- Add
exec --no-startup-id picom
to~/.config/i3/config
Install spotify from the AUR:
sudo pacman -S git
sudo pacman -S --needed base-devel
git clone [https://aur.archlinux.org/spotify.git](https://aur.archlinux.org/spotify.git)
cd spotify
makepkg -si
gpg --recv-keys PUBLIC_KEY
makepkg -si
spotify -version
spotify --no-zygote
(for GPU error that is possibly caused in VM’s only.)
Switching to the sddm
login manager:
sudo pacman -Ru lightdm-gtk-greeter
followed bysudo pacman -Ru lightdm
- Remove the pointer file
sudo rm /whateverpaththefileisin/file.file
sudo pacman -S sddm
sudo systemctl enable sddm
git clone [https://aur.archlinux.org/sddm-sugar-candy-git.git](https://aur.archlinux.org/sddm-sugar-candy-git.git)
cd sddm-sugar-candy-git
makepkg -si
sudo vim /usr/lib/sddm/sddm.conf.d/default.conf
- Under
[Theme]
change toCurrent=sugar-candy
Installing custom GRUB theme:
- Download
Vimix-1080p.tar.xz
fromhttps://www.gnome-look.org/p/1009236
sudo tar xf Vimix-1080p.tar.xz
cd Vimix-1080p
sudo ./install.sh -b
Installing and switching to zsh
:
- List current shell using
neofetch
orecho $SHELL
sudo pacman -S zsh
zsh
andchsh -l
to verify zsh is installedchsh -s /usr/bin/zsh
$mod+Shift+E
to restart i3 and apply changes
Installing p10k
fonts and zsh-for-humans
- Installing the fonts
- First, download the four fonts given here
cd /usr/local/share/fonts/
sudo mkdir ttf
cd ttf
sudo mkdir MesloLGS
cd ~/Downloads
sudo cp 'MesloLGS NF Regular.ttf' /usr/local/share/fonts/ttf/MesloLGS/
repeat for all four fontscd /usr/local/share/fonts/ttf/MesloLGS
- Change the permissions so that all users can read, write, and execute the files with
sudo chmod a=rwx 'MesloLGS NF Regular.ttf'
repeat for all four fonts sudo Xorg :2 -configure
to generate a new config file at/root/xorg.conf.new
sudo cp /root/xorg.conf.new /etc/X11/xorg.conf
cd /etc/X11/
andls -a
to check for the filesudo vim xorg.conf
and findSection "Files"
- Add
FontPath "/usr/local/share/fonts/ttf/MesloLGS/"
cd ~
andfc-cache
to update fontconfig cache- Change the default font in alacritty
cd ~/.config/alacritty
touch alacritty.yml
sudo vim alacritty.yml
Add the following code
1 2 3
font: normal: family: "MesloLGS NF"
$mod+Shift+Q
for changes to take effect
- Installing
zsh-for-humans
Reload i3
$mod+Shift+E
Paste the code below into a shell
1 2 3 4 5
if command -v curl >/dev/null 2>&1; then sh -c "$(curl -fsSL https://raw.githubusercontent.com/romkatv/zsh4humans/v5/install)" else sh -c "$(wget -O- https://raw.githubusercontent.com/romkatv/zsh4humans/v5/install)" fi
2, 1, n, n
for the initial setup questionsAnswer the following graphical questions as they come, everything should work if the fonts are properly installed
3, 1, 2, 1, 1, 1, 2, 1, 2, 4, 2, 2, 1, n
Improving vim
Make sure Alacritty is running in true color mode
cd .config/alacritty/
thenvim alacriltty.yml
Add the following
1 2
env: TERM: xterm-256color
Test the output using this script from: https://unix.stackexchange.com/questions/404414/print-true-color-24-bit-test-pattern
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/bash # Based on: https://gist.github.com/XVilka/8346728 awk -v term_cols="${width:-$(tput cols || echo 80)}" 'BEGIN{ s="/\\"; for (colnum = 0; colnum<term_cols; colnum++) { r = 255-(colnum*255/term_cols); g = (colnum*510/term_cols); b = (colnum*255/term_cols); if (g>255) g = 510-g; printf "\033[48;2;%d;%d;%dm", r,g,b; printf "\033[38;2;%d;%d;%dm", 255-r,255-g,255-b; printf "%s\033[0m", substr(s,colnum%2+1,1); } printf "\n"; }'
Run the following to install vim-plug
1 2
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
cd ~
, thentouch .vimrc
sudo vim .vimrc
Add the following code for the
vim-airline
plugin and theeverforest
theme1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
call plug#begin() Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'sainnhe/everforest' call plug#end() syntax on if has('termguicolors') set termguicolors endif set background=dark let g:everforest_background = 'hard' let g:everforest_better_performance = 1 let g:airline_theme = 'everforest' colorscheme everforest
vim
then:PlugInstall
Theming Alacritty
- Add the contents of this markdown file to
~/.config/alacritty/alacritty.yml
Improving neofetch
- Backup the current config
cd ~/.config/neofetch/ && rename config.conf configbackup.conf config.conf
- Clone the following
git clone [https://github.com/Chick2D/neofetch-themes/](https://github.com/Chick2D/neofetch-themes/)
into the home directory mv neofetch-themes/normal/config.conf ~/.config/neofetch/config.conf
Replacing htop
with btm
sudo pacman -Rs htop
sudo pacman -S bottom
- call with
btm
- custom coloring available in
~/.config/bottom.toml
. Coloring should be fine if the Alacritty theme is already set.
Installing polybar
themes
- Install the following packages first
sudo pacman -Syu polybar rofi pywal calc networkmanager_dmenu
- Nerdfont should already be installed from the
p10k
setup
git clone --depth=1 [https://github.com/adi1090x/polybar-themes.git](https://github.com/adi1090x/polybar-themes.git)
cd polybar-themes
chmod +x setup.sh