- Refresh servers before getting started
sudo pacman -Syy
- Install i3
sudo pacman -S i3-gaps i3blocks i3lock i3status
- Install required packages
sudo pacman -S xorg xorg-xinit dmenu
- Reboot your machine or run
startx
command in your terminal to change window manager
More useful information about i3
- Install polybar
sudo pacman -S polybar
- Default polybar config
sudo cp /usr/share/doc/polybar/config ~/.config/polybar/config
sudo chown username:username .config/polybar/config
- Change the access permission for launch.sh
chmod +x ~/.config/polybar/launch.sh
- Check if you've added this to your i3 config file
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
- Disable i3's default bar by commenting these
bar {
i3bar_command i3bar
}
- To add custom fonts to your polybar:
- Place a folder with .otf-s and/or .ttf-s in
/usr/share/fonts/
directory - Then place a string like this to your polybar config
font-1 = FontAwesome5Free:style=Solid:pixelsize=11:antialias=true;1
More useful information about polybar
- Install ranger
sudo pacman -S ranger
- Default ranger config
ranger --copy-config=all
ranger
uses 4 main configuration files:
commands.py
contains various functions' implementation, written in Python, used to modify ranger's behaviorrc.conf
is used for setting various options and binding the keys to functionsrifle.conf
decides which program to use for opening which filescope.sh
is a shell script used to generate the previews for various file types
More useful information about ranger
Official User Guide
- Install alacritty
sudo pacman -S alacritty
- Default alacritty config
sudo cp /usr/share/doc/alacritty/example/alacritty.yml ~/.config/alacritty/alacritty.yml
sudo chown username:username .config/alacritty/alacritty.yml
More useful information about alacritty
- Install redshift
sudo pacman -S redshift
-
Create a redshift.conf file in
/.config/redshift/
directory -
Paste there a default configuration and set it manually
-
Add this to your .xprofile
redshift &
More useful information about redshift
- Install dunst
sudo pacman -S dunst
- Default dunst config
sudo cp /usr/share/dunst/dunstrc ~/.config/dunst/dunstrc
sudo chown username:username .config/dunst/dunstrc
- Add this to your .xprofile
dunst &
More useful information about dunst
- Clone i3-battery-popup package
git clone https://aur.archlinux.org/i3-battery-popup-git.git
- Change your current working directory to
i3-battery-popup-git
- Run this command
makepkg -si
- Add this to your .xinitrc file to get battery popups
exec --no-startup-id i3-battery-popup -n -L 20 -l 15 -t 60s
More useful information about i3-battery-popup
Usage: .Xresources
can be used to set configuration parameters for X client applications.
-
Add a file named
.Xresources
to your $HOME directory -
Make sure that you have this line in your .xinitrc file
userresources=$HOME/.Xresources
More useful information about .Xresources
Usage: .xprofile
allows you to execute commands at the beginning of the X user session - before the window manager is started.
-
Add a file named
.xprofile
to your $HOME directory -
Don't forget to put a & sign at the end of each command line
More useful information about .xprofile
Usage: If no specific client program is given on the command line, xinit will look for a hidden file in the $HOME directory called .xinitrc
to run as a shell script to start up client programs.
-
Add a file named
.xinitrc
to your $HOME directory -
Add settings for your window manager, desctop environment etc. here
More useful information about .xinitrc
Usage: .zprofile
is used for environment variables and tools configiration
-
Add a file named
.zprofile
to your $HOME directory -
Add settings for your
zsh
here